Think about Loose Coupling | |
PerlMonks |
Re: Import a DLL from C# to Perlby syphilis (Archbishop) |
on May 08, 2018 at 02:21 UTC ( [id://1214185]=note: print w/replies, xml ) | Need Help?? |
With this code I was able to call the dll from a C code There are a couple of alternative approaches you could consider. If you can achieve what you want in C code, then you should be able do the same in Perl, using Inline::C. OTOH, if the wrapper code that you have is C++, then maybe Inline::CPP would be better. If this is just about utilizing user32.dll's MessageBoxA function, then the Inline::C cookbook contains this example. I've nothing against Win32::API - it's just that I've never managed to bring myself to persevere with it. I'm therefore unable to provide any help with that particular module. Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|