Recently, I got a problem from my friend, but I don't know his development environment. I guess the problem may developed in .net 2003, boost version is 1.33_1. My development evironment as following: .net 2005, the version of boost is 1.3.4 and my OS is windows XP. After i update conresspondent configuration, the program could be compile and the .exe file has been generated. The problem is the .exe couldn't work well, nothing could be generated after runing it. Then I insert a breakpoint in the main function, and set the solution to debug in confugration dialog, but the process do not stop at the breakpoint while debuging the program. Some error information appeared as following:
00:00:00.000: Started "d:\work\bin\MDL2MGA_D.EXE" (process 0x1634) at address 0x00400000 by thread 1. Successfully hooked module.
00:00:00.000: Loaded "c:\windows\system32\NTDLL.DLL" at address 0x7C920000 by thread 1. Successfully hooked module.
00:00:00.344: Loaded "c:\windows\system32\KERNEL32.DLL" at address 0x7C800000 by thread 1. Successfully hooked module.
00:00:00.360: DllMain(0x7C920000, DLL_PROCESS_ATTACH, 0x00000000) in "c:\windows\system32\NTDLL.DLL" called by thread 1.
...........................................
00:00:00.578: DllMain(0x08370000, DLL_PROCESS_ATTACH, 0x00000000) in "e:\develop\dependency worker\DEPENDS.DLL" returned 1 (0x1) by thread 1.
00:00:00.610: Loaded "d:\udm\bin\UDMDLL_3_1_1D.DLL" at address 0x10000000 by thread 1. Successfully hooked module.
00:00:00.625: Loaded "d:\udm\3rdparty\xerces-c_2_5_0\bin\XERCES-C_2_5_0D.DLL" at address 0x12000000 by thread 1. Successfully hooked module.
....................................
00:00:01.063: Loaded "c:\windows\system32\MSVCP71.DLL" at address 0x7C3A0000 by thread 1. Successfully hooked module.
00:00:01.063: Entrypoint reached. All implicit modules have been loaded.
00:00:01.078: DllMain(0x77E50000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\RPCRT4.DLL" called by thread 1.
00:00:01.078: DllMain(0x77E50000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\RPCRT4.DLL" returned 1 (0x1) by thread 1.
00:00:01.078: DllMain(0x77DA0000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\ADVAPI32.DLL" called by thread 1.
00:00:01.078: DllMain(0x77DA0000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\ADVAPI32.DLL" returned 1 (0x1) by thread 1.
00:00:01.078: DllMain(0x77BE0000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\MSVCRT.DLL" called by thread 1.
00:00:01.078: GetProcAddress(0x7C800000 [c:\windows\system32\KERNEL32.DLL], "InitializeCriticalSectionAndSpinCount") called from "c:\windows\system32\MSVCRT.DLL" at address 0x77C079C2 and returned 0x7C80B829 by thread 1.
00:00:01.125: DllMain(0x77BE0000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\system32\MSVCRT.DLL" returned 1 (0x1) by thread 1.
00:00:01.125: DllMain(0x00550000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\winsxs\x86_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\MSVCR80D.DLL" called by thread 1.
00:00:01.125: GetProcAddress(0x7C800000 [c:\windows\system32\KERNEL32.DLL], "FlsAlloc") called from "c:\windows\winsxs\x86_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\MSVCR80D.DLL" at address 0x00554A65 and returned NULL by thread 1. Error: (127).
00:00:01.203: GetProcAddress(0x7C800000 [c:\windows\system32\KERNEL32.DLL], "FlsGetValue") called from "c:\windows\winsxs\x86_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\MSVCR80D.DLL" at address 0x00554A79 and returned NULL by thread 1. Error: (127).
00:00:01.203: GetProcAddress(0x7C800000 [c:\windows\system32\KERNEL32.DLL], "FlsSetValue") called from "c:\windows\winsxs\x86_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\MSVCR80D.DLL" at address 0x00554A8D and returned NULL by thread 1. Error: (127).
00:00:01.219: GetProcAddress(0x7C800000 [c:\windows\system32\KERNEL32.DLL], "FlsFree") called from "c:\windows\winsxs\x86_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\MSVCR80D.DLL" at address 0x00554AA1 and returned NULL by thread 1. Error: (127).
00:00:01.235: GetProcAddress(0x7C800000 [c:\windows\system32\KERNEL32.DLL], "EncodePointer") called from "c:\windows\winsxs\x86_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\MSVCR80D.DLL" at address 0x005548C8 and returned 0x7C933917 by thread 1.
00:00:01.328: GetProcAddress(0x7C800000 [c:\windows\system32\KERNEL32.DLL], "EncodePointer") called from "c:\windows\winsxs\x86_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\MSVCR80D.DLL" at address 0x005548C8 and returned 0x7C933917 by thread 1.
.....................................................
00:00:01.422: GetProcAddress(0x77BE0000 [c:\windows\system32\MSVCRT.DLL], "_set_error_mode") called from "c:\windows\winsxs\x86_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\MSVCR80D.DLL" at address 0x005577FC and returned 0x77C05348 by thread 1.
00:00:01.469: GetProcAddress(0x77BE0000 [c:\windows\system32\MSVCRT.DLL], "?set_terminate......YAP6AXXZP6AXXZ...Z") called from "c:\windows\winsxs\x86_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\MSVCR80D.DLL" at address 0x00557830 and returned 0x77BF2567 by thread 1.
00:00:01.469: GetProcAddress(0x77BE0000 [c:\windows\system32\MSVCRT.DLL], "_get_terminate") called from "c:\windows\winsxs\x86_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\MSVCR80D.DLL" at address 0x00557863 and returned NULL by thread 1. Error: (127).
00:00:01.469: GetProcAddress(0x7C800000 [c:\windows\system32\KERNEL32.DLL], "FindActCtxSectionStringW") called from "c:\windows\winsxs\x86_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\MSVCR80D.DLL" at address 0x00553328 and returned 0x7C82FD4C by thread 1.
00:00:01.485: GetProcAddress(0x7C800000 [c:\windows\system32\KERNEL32.DLL], "GetSystemWindowsDirectoryW") called from "c:\windows\winsxs\x86_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\MSVCR80D.DLL" at address 0x00553592 and returned 0x7C80AD29 by thread 1.
00:00:01.485: DllMain(0x00550000, DLL_PROCESS_ATTACH, 0x0012FD30) in "c:\windows\winsxs\x86_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\MSVCR80D.DLL" returned 1 (0x1) by thread 1.
.............................................
00:00:01.969: GetProcAddress(0x7C800000 [c:\windows\system32\KERNEL32.DLL], "InitializeCriticalSectionAndSpinCount") called from "c:\windows\system32\MSVCR71.DLL" at address 0x7C3418AB and returned 0x7C80B829 by thread 1.
00:00:02.000: GetProcAddress(0x7C800000 [c:\windows\system32\KERNEL32.DLL], "FlsAlloc") called from "c:\windows\system32\MSVCR71.DLL" at address 0x7C341950 and returned NULL by thread 1. Error: (127).
00:00:02.016: GetProcAddress(0x7C800000 [c:\windows\system32\KERNEL32.DLL], "FlsGetValue") called from "c:\windows\system32\MSVCR71.DLL" at address 0x7C34195D and returned NULL by thread 1. Error: (127).
00:00:02.016: GetProcAddress(0x7C800000 [c:\windows\system32\KERNEL32.DLL], "FlsSetValue") called from "c:\windows\system32\MSVCR71.DLL" at address 0x7C34196A and returned NULL by thread 1. Error: (127).
00:00:02.016: GetProcAddress(0x7C800000 [c:\windows\system32\KERNEL32.DLL], "FlsFree") called from "c:\windows\system32\MSVCR71.DLL" at address 0x7C341977 and returned NULL by thread 1. Error: (127).
00:00:02.016: GetProcAddress(0x7C800000 [c:\windows\system32\KERNEL32.DLL], "IsProcessorFeaturePresent") called from "c:\windows\system32\MSVCR71.DLL" at address 0x7C341FDA and returned 0x7C80AE2A by thread 1.
...........................................
I don't know what's happen for my program. why the debug process could entry the main function but the .exe has been generated ?
Any suggestion or advice are appreciated.
Thank you very much!