I used vld on win10,vs2017.
I tested vld in a pure c++ project and it worked well.
Then I created a simple C++/CLI DLL project and include in a .cpp file,just like this:
.h:
public ref class CLIClass
{
public:
CLIClass(){}
~CLIClass(){}
static void test();
};
.cpp:
include
include "CLIClass.h"
void CLIClass::test()
{
int * a = new int;
}
Then I created a WPF application, in MainWindow_Loaded I called CLIClass.test();
I compile the project and run it, but it crashed!
I tried copy dbghelp.dll、vld_x86.dll、Microsoft.DTfW.DHL.manifest to run folder,but it still crashed...
I used vld on win10,vs2017. I tested vld in a pure c++ project and it worked well. Then I created a simple C++/CLI DLL project and include in a .cpp file,just like this:
.h:
public ref class CLIClass
{
public:
CLIClass(){}
~CLIClass(){}
static void test();
};
.cpp:
include
include "CLIClass.h"
void CLIClass::test() { int * a = new int; } Then I created a WPF application, in MainWindow_Loaded I called CLIClass.test(); I compile the project and run it, but it crashed!
I tried copy dbghelp.dll、vld_x86.dll、Microsoft.DTfW.DHL.manifest to run folder,but it still crashed...