c++-cli
Memcpy of native array to managed array in C++ CLI
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.[详细]
2023-03-26 02:55 分类:问答c# equivalent for c++/cli long
I declared a method of in C# like this: [OperationContract] [FaultContract(typeof(MyException))] MyClass MyMethod(... some params ..., Int32[] myParam);[详细]
2023-03-25 12:22 分类:问答Establish a mapping between a managed object and a native pointer in c++/cli?
I have a c++/cli class in which I would like to maintain a mapping between a managed string and a native pointer.[详细]
2023-03-25 04:41 分类:问答Copy from const char* to a byte array C++/c# interop Marshal::Copy
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.[详细]
2023-03-25 03:13 分类:问答Strange Hooking Problem : SendMessage unables to hooke the procedure while process launched normally , While it HOOKS properly in debugging mode
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[详细]
2023-03-24 19:33 分类:问答CLI/C++: void* to System::Object
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[详细]
2023-03-24 16:25 分类:问答How to step into unmanaged C++ library from my C++/CLI code
I have the following three projects in my solution: 1. C# library 2. C++/CLI managed code 3. C++ unmanaged code[详细]
2023-03-24 13:06 分类:问答Classes generated by XML Data Generator Tool are not contained within the specified namespace
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-[详细]
2023-03-24 12:01 分类:问答C++ list in combination with xmlwriter
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[详细]
2023-03-24 11:48 分类:问答can i use DEBUG_NEW on managed code?
can i use: #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[开发者_如何学运维] = __FILE__;[详细]
2023-03-24 09:43 分类:问答