And, AFAIK, it doesn't matter whether the dll you want to load was built from C code or C# code or C++ code.
There is a problem with C#, in as much as (AFAIK) it always produces .NET Managed Assemblies. Essentially, the DLL contains initialisation and thunking code to connect it to the .NET subsytems, that needs to be called for stuff to work. It's meant to be done by wrapping it in a COM wrapper; but there is another way: Reverse P/Invoke
At that point, I've described more than I understand, so I'll leave it to the OP to follow the link and read about there.
In reply to Re^4: Import a DLL from C# to Perl
by BrowserUk
in thread Import a DLL from C# to Perl
by paulorfmmb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |