When my process crashes, how can I print to log a core dump file stack, C++ over windows? I know that in Unix there is a way to do it using some signal handlers but never did it myself. How can I do it in windows (prefer not to use ACE)?
Thanks.
When my process crashes, how can I print to log a core dump file stack, C++ over windows? I know that in Unix there is a way to do it using some signal handlers but never did it myself. How can I do it in windows (prefer not to use ACE)?
Thanks.
The Windows equivalent of a core dump is called a Minidump, and you can write one using MiniDumpWriteDump. There's an article about on codeproject here: http://www.codeproject.com/KB/debug/postmortemdebug_standalone1.aspx