A empty project in VS2010, in stdafx.h add #include <vld.h>
After run the project ,
e:\develop_doc\TestProject\work2\TestProject_x64\TestProject\TestProject.cpp (170): TestProject.exe!CTestProjectApp::InitInstance() + 0x15 bytes
Why? The VS2010 MFC has problem?
After run the project ,
the below message report by Visual Leak Detector
WARNING: Visual Leak Detector detected memory leaks!e:\develop_doc\TestProject\work2\TestProject_x64\TestProject\TestProject.cpp (170): TestProject.exe!CTestProjectApp::InitInstance() + 0x15 bytes
mfc100d.dll!0x0000000051C7C419()
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\appmodul.cpp (26): TestProject.exe!WinMain()
f:\dd\vctools\crt_bld\self_64_amd64\crt\src\crtexe.c (547): TestProject.exe!__tmainCRTStartup() + 0x42 bytes
f:\dd\vctools\crt_bld\self_64_amd64\crt\src\crtexe.c (371): TestProject.exe!WinMainCRTStartup()
kernel32.dll!BaseThreadInitThunk() + 0xD bytes
ntdll.dll!RtlUserThreadStart() + 0x21 bytes
.....Why? The VS2010 MFC has problem?