【发布时间】:2013-06-26 03:24:36
【问题描述】:
如果我 #include 并且没有创建任何实例,编译成功,但无法启动,堆栈是:
ntdll!RtlIpv4StringToAddressExW+0xb54c
ntdll!RtlLockHeap+0x252
Test!operator new+0xf
Test!boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>+0xb7
Test!QueryPerformanceFrequency+0x16fa
Test!_cinit+0x5e
Test!WinMainCRTSartup+0x143
kernel32!ProcessIDToSessionId+0x209
我的环境是win7 x64 sp1 + vc71 + boost1.46(1.52也测试) 请帮帮我。
【问题讨论】:
-
“无法启动”是什么意思?它崩溃了吗?错误信息是什么?
-
是的,崩溃。错误信息是:错误应用程序Test.exe,版本0.0.0.0,错误模块ntdll.dll,版本5.2.3790.4937,错误地址0x0004cd12。
标签: boost boost-thread