unmanaged
Memory leak detection for mixed mode projects: managed, unmanaged and native
I have a Visual Studio 2010 solution that contains C# (managed), C++/CLI (unmanaged) and pure C++ (native) projects. I would like to perform memory leak detection across all 3 projects or at least aro[详细]
2023-04-13 07:29 分类:问答copy raw pixel data in c#
i am trying to copy the pixels of a Bitmap into a DirectX texture. its simple to get the IntPtr\'s from both, but how do i copy the pixel data efficiently?[详细]
2023-04-13 07:11 分类:问答C# - Calling unmanaged function with a fixed size out parameter
I\'ve been searching for the last 12 hours or so and don\'t think I\'m even on the right track at this point or if I\'m wording my searches properly. I\'m hoping someone can point me in the right dire[详细]
2023-04-13 00:00 分类:问答Create array of pointers from an array of double in C#
I\'m trying to create an array of pointer references to a double array.For example; double[] mylist = new double[100];[详细]
2023-04-11 07:33 分类:问答Unit Testing: How to break a local object dependency?
I\'ve a code like following: class B; class A { A() { } bool MethodA() { B *pB = new B(); bool bRet = pB->SomeFunction();[详细]
2023-04-11 04:24 分类:问答How to determine the size of an instance?
I have set my project to accept unsafe code and have the following helper Class to determine the size of an instance:[详细]
2023-04-10 01:31 分类:问答C# Define custom UnmanagedType for the MarshalAs attribute class
is it possible to define a custom UnmanagedType for the MarshalAs attribute class? Specifically I want to convert a long int unix time into a DateTime type. Something like this:[详细]
2023-04-09 07:32 分类:问答Destruct Unmanaged object From .NET code
I\'ve wrote a C++ library that is exposed to my VB.NET application through a C++/CLI wrapper. I\'m worried about objects that I\'m shuttling up to the VB.NET application through the wrapper. To use[详细]
2023-04-09 01:17 分类:问答Signing mixed code assembly
I have a mixed assambly written in C++ managed and unmanaged. To sign this assembly I use delayed signing with the following Post-build event:[详细]
2023-04-09 01:10 分类:问答Passing an array of strings from managed C# to unmanaged function using P-Invoke
Is it possible to pass a string array from managed C# to an unmanaged function using P-Invoke? This works fine: 开发者_C百科[详细]
2023-04-08 06:08 分类:问答