unmanaged
Unmanaged code calling causes a WCF process to crash [closed]
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time,or an extraordinarily narrow situation that is not generally applic[详细]
2023-03-28 10:53 分类:问答Memory leaks? in passing IEnumerable<byte[]> array to unmanaged function as byte** parameter
Is that the correct way to allocate and free handles to managed data passed to unmanaged dll? There is unmanaged dll with exported function[详细]
2023-03-24 23:33 分类:问答mixed programming for a string between C# managed code and c++ unmanaged code
I\'m working on a c++ project which uses a string path to call an XML file. When i compiled the c++ everything works perfectly and i\'m able to use the XML file as my project requires.[详细]
2023-03-24 20:49 分类:问答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 分类:问答How does Marshal.ReadInt32 etc. differ from unsafe context and pointers?
Particularly: Is Marshal safer? Are pointers faster? int pixel = Marshal.ReadInt32(bitmapData.Scan0, x * 4 + y * bi开发者_JS百科tmapData.Stride);[详细]
2023-03-23 11:26 分类:问答Wrapper C++ in C++/CLI clr:safe for C# COM Interop
is there any way to make a wrapper clr:safe for a project in C++ unmanaged? My little story started this way,[详细]
2023-03-22 06:42 分类:问答Wrapping native C++ function with multiple outputs in a .dll for use in C#
I am wrapping some native C++ code in a C++/CLI .dll for use in .NET projects - mainly C#. The number of calls will be large so I am looking to do this in an effective way. The function I am wrapping[详细]
2023-03-20 14:28 分类:问答Free managed memory allocation from unmanaged code
I\'d like to do Marshal.AllocHGlobal in managed code, fill it with data, and pass that memory block to unmanaged (C++) code that will then be responsible for freeing it.[详细]
2023-03-20 08:08 分类:问答Safely use SuppressUnmanagedCodeSecurity
I\'m currently creating a managed wrapper to an unmanaged dll. Point is the wrapper does a TON of calls to the unmanaged dll but exports very few methods itself.[详细]
2023-03-19 06:05 分类:问答.NET System::String to UTF8-bytes stored in char*
I am wrapping some unmanaged C++ code inside a .NET project. For this I need to convert System::String to UTF8-bytes store开发者_运维问答d in char*.[详细]
2023-03-17 21:43 分类:问答