"be consistent" | |
PerlMonks |
Using Win32::Resourceby PrimeLord (Pilgrim) |
on Feb 15, 2005 at 21:16 UTC ( [id://431332]=perlquestion: print w/replies, xml ) | Need Help?? |
PrimeLord has asked for the wisdom of the Perl Monks concerning the following question:
I recently posted a question about accessing a .dll file to retreive some resource information. One of the suggestions for that was to look at Win32::Resources. I have taken a look at that module, but I am confused on how to access the data I need. Here is the sample code I have tried to use.
The .dll file I am trying to access has 43 resource entries that are structured like the following:
When I change the name field in my code between 1-43 $data has data written to it. When I go above 43 it is uninitialized. So it seems that the data I am looking for is getting written into $data. However when I print $data it seems to be just garbled data. Not the text information I was looking for. I am sure I am missing something easy, but from the module documentation i was not able to determine what it is. Any suggestions? Thanks! -Prime
Back to
Seekers of Perl Wisdom
|
|