Am I doing this right? I get a pointer to a native array and need to copy to a managed array. Use memcpy() with a pin_ptr.
I declared a method of in C# like this: [OperationContract] [FaultContract(typeof(MyException))] MyClass MyMethod(... some params ..., Int32[] myParam);
I have a c++/cli class in which I would like to maintain a mapping between a managed string and a native pointer.
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.
I am facing a strange problem regarding Hooking. I have a procedure which acts as a hooked procedure in C++/CLI, After SendMessage it unables to hook the procedure, while this is not the behavior whil
This is a similar question to this SO post, which I have been unable to use to solve my problem. I have included some code here, which will hopefully help someone to bring home the message that the ot
I have the following three projects in my solution: 1. C# library 2. C++/CLI managed code 3. C++ unmanaged code
I have the same problem as described in this connect issue http://connect.microsoft.com/VisualStudio/feedback/details/577382/classes-generated-by-xml-data-generator-tool-are-not-contained-within-the-
My problem is to output a list in C++ using XmlWriter. I need a list wich can be included in my XML file. My planned code - A class should be implemented to generate the list elements, but I don\'t kn
can i use: #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[开发者_如何学运维] = __FILE__;