|
|
| Welcome to the Monastery | |
| PerlMonks |
Win32::API accessing DLLby ganeshlin (Initiate) |
| on Sep 07, 2012 at 10:46 UTC ( #992280=perlquestion: print w/ replies, xml ) | Need Help?? |
|
ganeshlin has asked for the
wisdom of the Perl Monks concerning the following question:
Hi,
I am trying to use a procedure exported by a .dll. I am using Win32::API.
$function = new Win32::API('dllfile.dll', 'functionname', 'P','I') || die $!;
This returns "The specified procedure could not be found."
I tried using dumpbin /exports dllfile.dll
I got the same function name but with a suffix _ and prefix @4
_functionname@4
Looking forward for a help in this.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||