Re: [Development] magic number 0xf291

2013-03-01 Thread Pau Garcia i Quiles
On Fri, Mar 1, 2013 at 4:59 PM, Joerg Bornemann wrote: > On 01/03/2013 16:47, Pau Garcia i Quiles wrote: > > http://stackoverflow.com/**questions/9187021/c-** >> application-exit-error-code-**62097-what-does-that-mean

Re: [Development] magic number 0xf291

2013-03-01 Thread Joerg Bornemann
On 01/03/2013 16:53, Thiago Macieira wrote: > The value reappears: > > void QProcessPrivate::killProcess() > { > if (pid) > TerminateProcess(pid->hProcess, 0xf291); > } Oh it's Qt's magic number, no Windows sorcery. That explains it. Thanks, Joerg ___

Re: [Development] magic number 0xf291

2013-03-01 Thread Joerg Bornemann
On 01/03/2013 16:47, Pau Garcia i Quiles wrote: > http://stackoverflow.com/questions/9187021/c-application-exit-error-code-62097-what-does-that-mean > > It means memory allocation failed. Yeah I also found this comment but I cannot make my memory allocator fail in a way that I get this exit code

Re: [Development] magic number 0xf291

2013-03-01 Thread Thiago Macieira
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

Re: [Development] magic number 0xf291

2013-03-01 Thread Pau Garcia i Quiles
Hello, According to: http://stackoverflow.com/questions/9187021/c-application-exit-error-code-62097-what-does-that-mean It means memory allocation failed. On Fri, Mar 1, 2013 at 4:43 PM, Joerg Bornemann wrote: > In qprocess_win.cpp there's this code for determining if the child > process cras

[Development] magic number 0xf291

2013-03-01 Thread Joerg Bornemann
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