managed
managed c++ .NET extract file from resource, wrong file size
Hi im trying to extract a file from my embedded resource but the issue is that the file size is not correct, it should be around 3500KB but it comes out as 5850KB or so.[详细]
2023-03-22 18:53 分类:问答ServiceController in Managed c++? (.NET)
Hi im trying to start/stop/disable windows services via a .NET app but I cant seem to get the below code to work, it keeps saying that Error4error C2065: \'ServiceController\' : undeclared identifier[详细]
2023-03-21 08:29 分类:问答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 分类:问答Deserializing a byte array
If I wanted to fill a struc开发者_JS百科ture from a binary file, I would use something like this:[详细]
2023-03-18 17:29 分类:问答Native types and Generics
I want to create a native array and access it managed code. I don\'t want to re write code to different types, (int, long, float, double) therefore tried using generics.[详细]
2023-03-16 14:52 分类:问答Open CV GUI Error Handler - Insufficient memory [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-16 02:04 分类:问答passing 2D array from managed C++ to unmanaged C++
I\'m working on a managed C++ wrapper for unmanaged C++ code and have a question. Just for simplicity let\'s say that I need to pass a 2D array from C# code to Managed C++ to Unmanaged C++. I have no[详细]
2023-03-13 00:32 分类:问答Can managed code perform computations as fast as unmamanged?
I\'ve been interested in different chess en开发者_运维知识库gines lately. There are many open and closed sources project in this field. They are all (most of them anyway) written in C/C++. This is kin[详细]
2023-03-10 06:40 分类:问答