[Development] magic number 0xf291

Joerg Bornemann joerg.bornemann at digia.com
Fri Mar 1 16:43:35 CET 2013


In qprocess_win.cpp there's this code for determining if the child 
process crashed or not.

//### for now we assume a crash if exit code is less than -1 or the 
magic number
crashed = (exitCode == 0xf291 || (int)exitCode < 0);

Does anybody have an idea where this magic number 0xf291 comes from?
I cannot find it anywhere in the Windows headers. Neither can I produce 
a crashing application that returns this code.

Hint: it is not the exit code for unsatisfied DLL dependencies.
That's STATUS_DLL_NOT_FOUND.


Cheers,

Joerg



More information about the Development mailing list