Geeks With Blogs

News


Rodney Vinyard - .NET & SQL Developer When all is said and done, more will be said than done Interop & P/Invoke
From C#, P/Invoke C++ with callbacks to C#
Mission: From C#, P/Invoke C++ with callbacks to C# //-------------------------... // inside unmanaged C# code //-------------------------... //-------------------------... //delegates - define a signatures for unmanaged c++ code to call //-------------------------... public delegate void MessageReceivedDelegate( int param1, string ......

Posted On Tuesday, April 7, 2009 3:32 AM

Calling Win32 DLLs in C# with P/Invoke
Calling Win32 DLLs in C# with P/Invoke http://msdn.microsoft.com/m... Now let's look at the direction in which string information is being passed between your code and the unmanaged function. There are two ways that you can know which direction the information is being passed in when working with strings. The first and most reliable method is to understand the purpose of the parameter in the first place. For example, if you are calling a parameter with a name like CreateMutex ......

Posted On Thursday, November 16, 2006 12:22 PM

Copyright © Rodney Vinyard | Powered by: GeeksWithBlogs.net