c++ - 关机时的操作异常该怎么调试?
ringa_lee
ringa_lee 2017-04-17 13:48:14
0
1
572

写了个服务程序,SetProcessShutdownParameters为0,即最后关闭,然后在关机期间执行了一些操作(explorer.exe结束以后),但这些操作好像异常,应该调试?怎么收集异常信息?

ringa_lee
ringa_lee

ringa_lee

reply all(1)
洪涛

Try using SetUnhandledExceptionFilter to register an exception handling callback function, then use MiniDumpWriteDump to generate a coredump file, and then debug after booting.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!