in reply to Calling dll function(created in VC++) from Perl
Your DLL function needs to be compiled with the WINAPI calling convention (_cdecl?). I don't care to guess as to what other mistakes you could have made. Perhaps you should show us what you tried.
Alternatively, you could write an XS interface to it or use Inline::C.
|
|---|