in reply to Accessing a DLL File

IŽd give Win32::Resources a try.


holli, /regexed monk/

Replies are listed 'Best First'.
Re^2: Accessing a DLL File
by PrimeLord (Pilgrim) on Feb 15, 2005 at 19:57 UTC
    I thought I had it figured out, but it seems that I don't. I took a look at Win32::Resources, but I understand what is getting written to data. Here is an example of the code I am using:

    #!perl -w use strict; use Win32::Resources; my $filename = "C:/path/to/file.dll"; my $data = Win32::Resources::LoadResource( filename => $filename, type => 'STRING', name => '1', language => '0' ); print "$data\n";


    $data appears to just be a bunch binary data. Not the text strings I was looking for. Any suggestions on what I am doing wrong? Thanks again.