Eric Pouech eric.pouech@orange.fr writes:
cmdline = HeapAlloc(GetProcessHeap(), 0, 80);
snprintf(cmdline, 80, "winedbg --auto %ld %ld", /* as in tools/wine.inf */
(long)GetCurrentProcessId(), (long)HandleToLong(hEvent));
/* no AeDebug key present, just kill the program */
return FALSE;
This means you don't get a backtrace if there's a crash before the initial registry creation is complete. I don't think that's a good idea.