I have been trying to use the win32::API:Struct for a while and mostly it works fine :)
However i have ran into trouble with using structs within structs ... I dont know how to retrieve values from the nested struct ..
Win32::API::Struct->typedef('MDS_Forwarding', qw( char Address; char Host; char SendAs; char Port; )) or die "Typedef error $!\n"; Win32::API::Struct->typedef('MDS_Block', qw( MDS_Forwarding User; char Name; )) or die "Typedef error $!\n";
if i define a MDS_Block struct like this:
my $Block = Win32::API::Struct->new( 'MDS_Block' );
How do i retrieve the nested Address value for the $Block struct??
Thanks in advance!