What kind of assemblies can be called using P/Invoke ?

Posted by milan on Stack Overflow See other posts from Stack Overflow or by milan
Published on 2010-06-18T11:12:46Z Indexed on 2010/06/18 11:13 UTC
Read the original article Hit count: 329

Filed under:
|
|
|

Hi all,

I allready asked at:

Is it possible to call unmanaged code using C# reflection from managed code ?

if it is possible to call C/C++ library unmanaged function with Invoke and reflection from .NET and the answer is yes. What I am not clear about is can I call using P/Invoke ANY assembly written/compiled/build with other compilers on my Windows PC like Labwindows/CVI(have some kind of C compiler) or Java written dll's, exe. If this is possible is it the same as explained in above given link using "Marshal.GetDelegateForFunctionPointer" ?

Thanks! Milan.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about reflection