Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Accessing a DLL File

by PrimeLord (Pilgrim)
on Feb 15, 2005 at 19:57 UTC ( [id://431308]=note: print w/replies, xml ) Need Help??


in reply to Re: Accessing a DLL File
in thread Accessing a DLL File

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://431308]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 20:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found