On sexta-feira, 1 de março de 2013 16.43.35, Joerg Bornemann wrote:
> 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.

The value reappears:

void QProcessPrivate::killProcess()
{
    if (pid)
        TerminateProcess(pid->hProcess, 0xf291);
}

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to