unmanaged
C# calling unmanaged code
I am trying to call unmanaged code using C#. extern \"C\" __declspec(dllexport) LPBYTE DataReceived(LPBYTE signals)[详细]
2023-01-30 03:59 分类:问答Passing char pointer from C# to c++ function
I am stuck in c# implementation side, as I am pretty new to it. The thing is, I want to pass a \'pointer\'(having memory) from c# code so that My c++ application can copy pchListSoftwares buffer to pc[详细]
2023-01-29 16:10 分类:问答Is there a need to free memory in unmanaged code when it is loaded by managed code
There are 2 binaries. One is native/unmanaged C++ dll and other is managed c# exe. Now what I am doing is writing a function in c++ dll and allocated memory inside it using malloc. I exported this fun[详细]
2023-01-29 15:58 分类:问答Calling stateful unmanaged C++ class from ASP.NET webservice
I\'ve inherited a half completed application that seems to use a model that I\'m not sure can reliably work.[详细]
2023-01-29 04:00 分类:问答Passing Unmanaged object reference to Unmanaged method in C++/CLI managed method
I am getting exception when i am trying to pass unmanaged object, to COM method in method written in managed C++/CLI class. Following is the code sample[详细]
2023-01-27 14:40 分类:问答Passing unmanaged array to a Managed Thread. - memory corruption
I\'m a newbie for .Net and trying to use managed threading. I couldn\'t find any problem in my code, but it triggers an exception when the Thread Ends.[详细]
2023-01-27 09:43 分类:问答How to create unmanaged nested fixed length structure in C# that can be accessed using pointers
We have a lot of legacy code written in C/C++ that maintains data in shared memory structures.In the C/C++ implementations, for a lot of functions, we get a pointer to the shared memory address then c[详细]
2023-01-26 05:19 分类:问答C# Performance - should I write the computation heavy methods in c++?
I am building a prototype for a quantitativ开发者_如何学Ce library that does some signal analysis using image processing techniques. I built the initial prototype entirely in C#, but the performance i[详细]
2023-01-25 14:55 分类:问答What is the best way to capture an application window in C#?
I\'ve developed a simple windows forms application to capture the windows of a video chat application (inbound, aka Remote, and outbound, aka Local).[详细]
2023-01-24 13:57 分类:问答Unmanaged dll function byte* parameter return in C#
I need to use an unmanaged VC++ dll. It has the following two functions that require C# wrappers: bool ReadData(byte* byteData, byte dataSize);[详细]
2023-01-22 16:34 分类:问答