I am writing a wrapper around C DLL in C++/CLI so that it can be accessed in C# through a managed assembly. Using direct P/Invoke to access C functions via C# is not possible because C DLL raises exce
I have an application which downloads some data and I want to show that data on a listView. By deafault Mfc shows me some code, a namepace and a class with that listView. There is also a seperate cpp
I have the following in C++/CLI: (take note of my errors in comments) class Base{...} class Derived : public Base{...}
There\'s obviously something wrong with my build, but I can\'t figure it out. I narrowed this down to one of my projects: first build after clean fails, all following builds succeed.
I have found out that it is essential to derive my base MFC class from CWinApp and use AFX_MANAGE_STATE(AfxGetStaticModuleState()) for every exported method! (if MFC is dyn. linked)
First let me say that I can remote debug a release build on the remote computer. I set up my release build much l开发者_运维百科ike my debug build but I mostly had to make sure the Debug flag was not
I am in the process of converting working C# code into C++/CLI, and I\'m having trouble u开发者_运维技巧nderstanding why it does not compile.
I am trying to create a list/collection of C++ objects in C++/CLI and I have tried various ways but nothing seems to work (errors at compile time).
Earlier I asked if using as in C# was safe (i.e. won\'t blow up): Is using "as" in C# a safe way of casting?
I have a chunk of code that I\'m using to get the UNC path of a mapped drive in a CLR DLL, but when I\'m freeing memory at the end, a char array causes an invalid heap pointer assertion failure, and I