I\'m trying to call a FORTRAN77 subroutine from C# code using P/invoke - in case you\'re interested, I\'m trying to wrap some of the functionality offered by the ARPACK library (http://www.caam.rice.e
A buddy of mine asked me to post this question: EDIT: He decided to post the question on his own here: JAXB Unmarshalls XML IncorrectlyI tried to delete this question but couldn\'t.
I\'m trying to send an image from C++ to C# with an interop (marshaling) of C++ managed. image->getStream() return a const char* from a string.
Im currently writing a C# wrapper for a C++ API, but a specific struct and a function that relies on this struct have been giving very strange errors when debugging.
I have a map of lists that I need to marshal. I created XML adapater but I keep getting java.util.List is an interface, and JAXB can\'t handle interfaces. when creating JAXB context. How should I mars
I\'m loading a C++/CLI wrapping dll into my C# software and need some char* parameters for the underlying native C++ dll!
I am writing a wrapper around C DLL in C++/CLI so that it can be accessed in C# through a managed assembly. Using direct P/Invoke to access C functions via C# is not possible because C DLL raises exce
What\'s the difference between new String(char*) and Marshal.PtrToStringUni(IntPtr), aside from the obvious fact that one takes char* and one takes IntPtr? When should I use which?
In my C# application I have IntPtr y = VoidPointer(x); where VoidPointer(x) is an unmanaged function that returns a void*(void pointer). The problem is I am not getting the correct value pointed by y
I am working on WPF appli开发者_开发问答cation which internally calls a C/C++ DLL using PInvoke. In the debug mode of the DLL, whenever error occurs the function throw an exception which is basically