I\'m working on a custom debug engine and when I marshal my structure to a IntPtr Visual Studio crashes (the one being debugged not the debugger).
Is there anything I can do to catch an AccessViolationExc开发者_开发百科eption? It is being thrown by a unmanaged DLL that I don\'t control. You shouldn\'t. An access violation is a serious problem: i
I have a unmanaged C++ function with the following signature: int function(char* param, int ret) I am trying to call it from C#:
Background We have a .NET library that is referencing one of our unmanaged dlls, lets say: DotNet.dll Unmanaged.dll
I\'m having the following problem: I\'m developing a C# application which requires unsafe code to call an unmanaged c++ function. The structure is:
Suppose there is a c++ method int NativeMethod(double, double *) in a Native.dll.My first attempt at calling this method from managed code was (assuming I don\'t need to specify the entry point)
I\'m trying to pass an array of objects from C# to unmanaged C++, and nothing seems to work. The compiler won\'t let me pretend the array is an IntPtr.Casting the array to an IntPtr doesn\'t work.I\'
Never before had any problems with enabling unmanaged debugging. I\'m using Vista, VS Team System 2008 (9.0 30729.1 SP)
I have an unmanaged DLL written by another developer in unmanage开发者_如何学God C++. My application is a WinForms application written in C#. I am using interop to call a method (function) in the nati
Greetings, First off, I am not a C++ developer, so please forgive my shortcomings.... I am attempting to take another developer\'s C++ unmanaged code and re-work it so it can be called from a manag