Syntactic Confectionery Delight | |
PerlMonks |
Re^4: Import a DLL from C# to Perlby BrowserUk (Patriarch) |
on May 10, 2018 at 04:09 UTC ( [id://1214306]=note: print w/replies, xml ) | Need Help?? |
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. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
In the absence of evidence, opinion is indistinguishable from prejudice.
Suck that fhit
In Section
Seekers of Perl Wisdom
|
|