By jamesling
via canaware.com
Published: Nov 17 2009 / 09:19
There are two ways that C# code can directly call unmanaged code: Directly call a function exported from a DLL or Call an interface method on a COM object. For both techniques, you must provide the C# compiler with a declaration of the unmanaged function, and you may also need to provide the C# compiler with a description of how to marshal the parameters and return value to and from the unmanaged code.





Add your comment