I am trying to create a .NET DLL so I can use the cryptographic functions with my non .NET application.
Hey, I want to call unmanaged c++ code in C# The function interface is like following(I simplified it to make it easy to understand)
I have an executable (PE) file that load a dll开发者_运维技巧 file as represented in the Import table...
I\'m working on a .NET 3.5 console application in C# which uses a VC++ unmanaged DLL. It ran without a problem when I worked on it a few weeks ago, but I\'m coming back to it today and am now getting
I trying to create a pipe using C#. The code is quite simple but when the line with CreatePipe() call is executed I get a System.AccessViolationException with the following error message:
I h开发者_StackOverflow社区ave a function in win32 dll with signature as: void func1(int a, char*** outData)
I\'m using Visual Studio 2008.I have a DLL and a test program EXE.There is a header file for the DLL that contains this:
I have t开发者_开发百科wo WIN32 DLL projects in the solution, main.dll should call a function in mgn.dll.
If you make a little research on the internet you\'ll see many DLLImport styles for this user32.dll function:
How do I unload a DLL which has been loaded using DllImport开发者_Go百科 in C#?The most reliable way to unload an unmanaged DLL from a process that got loaded by a [DllImport] pinvoke declaration is t