How to marshal the type of \"Cstring\" in .NET Compact Framework(C#)? DLLname:Test_Cstring.dll(OS is WinCE 5.0),source code:
I\'m using a frame grabber class in order to capture and process each frame in a video. The class can be found here: http://www.codeproject.com/KB/graphics/FrameGrabber.aspx
I have a C++ function that produces a list of rectangles that are interesting.I want to be able to get that list out of the C++ library and back into the C# application that is calling it.
I have a problem calling this function from a c++ DLL in c# INT32 WINAPI PM_COM_GetText(INT32 TextId, char* pBuf, INT32 BufSize);
I would like to call this method in unmanaged library: void __stdcall GetConstraints( unsigned int* puiMaxWidth,
I am having a problem with PInvoking some WinAPI functions that accept WAVEFORMATEX structures as parameters. Since the length of the WAVEFORMATEX structure can vary, I implemented a WaveFormatEX clas
From safe, managed code in C#, I would like to call a function in a C API that receives an array of pointers (void**).
I\'ve got a fairly simple, but potentially large structure to serialize.Basically the structure of the XML will be:
I have a system where a remote agent sends serialized structures (from an embedded C system) for me to read and store via IP/UDP. In some cases I need to send back the same structure types. I thought
I have a C# struct to represent a cartesian vector, something like this: public struct Vector { private double x;