Página 1 de 1

WM_QUIT

Publicado: Vie Jun 08, 2007 8:16 am
por Oleg
Dear developers!
I have found that any Xailer's created application does not process WM_QUIT
message, that any Windows application can process. As result, though Xailer
has PostQuitMessage(nExitCode) procedure, it does not work.
Can I process it by myself? If yes, how?
Regards, Oleg

WM_QUIT

Publicado: Vie Jun 08, 2007 6:15 pm
por ignacio
Oleg,
PostQuitMessage() completely stops the message queue, and for that reason
Xailer does not have the chance to freed all the memory allocated by any
still alive window. The best way to leave the applicaction is just with
Application:lTerminate := .T. BTW the method Application:Terminate() is also
a good way to leave the application, but right now is not working, but we
have fixed already.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:[email=4668f442@ozsrv2.ozlan.local...]4668f442@ozsrv2.ozlan.local...[/email]
> Dear developers!
>
> I have found that any Xailer's created application does not process
> WM_QUIT message, that any Windows application can process. As result,
> though Xailer has PostQuitMessage(nExitCode) procedure, it does not work.
>
> Can I process it by myself? If yes, how?
>
> Regards, Oleg
>

WM_QUIT

Publicado: Vie Jun 08, 2007 6:15 pm
por NoName
Oleg,
PostQuitMessage() completely stops the message queue, and for that reason
Xailer does not have the chance to freed all the memory allocated by any
still alive window. The best way to leave the applicaction is just with
Application:lTerminate := .T. BTW the method Application:Terminate() is also
a good way to leave the application, but right now is not working, but we
have fixed already.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:[email=4668f442@ozsrv2.ozlan.local...]4668f442@ozsrv2.ozlan.local...[/email]
> Dear developers!
>
> I have found that any Xailer's created application does not process
> WM_QUIT message, that any Windows application can process. As result,
> though Xailer has PostQuitMessage(nExitCode) procedure, it does not work.
>
> Can I process it by myself? If yes, how?
>
> Regards, Oleg
>

WM_QUIT

Publicado: Vie Jun 08, 2007 8:44 pm
por Oleg
Ignacio!
> PostQuitMessage() completely stops the message queue, and for that reason
> Xailer does not have the chance to freed all the memory allocated by any
> still alive window. The best way to leave the applicaction is just with
> Application:lTerminate := .T. BTW the method Application:Terminate() is
> also a good way to leave the application, but right now is not working,
> but we have fixed already.
Thank you for answer. OK, I can live without WM_QUIT :) But is there any
other way to set an application exit code except PostQuitMessage?
Regards, Oleg

WM_QUIT

Publicado: Vie Jun 08, 2007 8:44 pm
por Oleg
Ignacio!
> PostQuitMessage() completely stops the message queue, and for that reason
> Xailer does not have the chance to freed all the memory allocated by any
> still alive window. The best way to leave the applicaction is just with
> Application:lTerminate := .T. BTW the method Application:Terminate() is
> also a good way to leave the application, but right now is not working,
> but we have fixed already.
Thank you for answer. OK, I can live without WM_QUIT :) But is there any
other way to set an application exit code except PostQuitMessage?
Regards, Oleg

WM_QUIT

Publicado: Vie Jun 08, 2007 9:16 pm
por ignacio
Oleg,
Take a look at Harbour function ErrorLevel()
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:[email=4669a39e@ozsrv2.ozlan.local...]4669a39e@ozsrv2.ozlan.local...[/email]
> Ignacio!
>
>> PostQuitMessage() completely stops the message queue, and for that reason
>> Xailer does not have the chance to freed all the memory allocated by any
>> still alive window. The best way to leave the applicaction is just with
>> Application:lTerminate := .T. BTW the method Application:Terminate() is
>> also a good way to leave the application, but right now is not working,
>> but we have fixed already.
>
> Thank you for answer. OK, I can live without WM_QUIT :) But is there any
> other way to set an application exit code except PostQuitMessage?
>
> Regards, Oleg
>
>

WM_QUIT

Publicado: Vie Jun 08, 2007 9:16 pm
por NoName
Oleg,
Take a look at Harbour function ErrorLevel()
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:[email=4669a39e@ozsrv2.ozlan.local...]4669a39e@ozsrv2.ozlan.local...[/email]
> Ignacio!
>
>> PostQuitMessage() completely stops the message queue, and for that reason
>> Xailer does not have the chance to freed all the memory allocated by any
>> still alive window. The best way to leave the applicaction is just with
>> Application:lTerminate := .T. BTW the method Application:Terminate() is
>> also a good way to leave the application, but right now is not working,
>> but we have fixed already.
>
> Thank you for answer. OK, I can live without WM_QUIT :) But is there any
> other way to set an application exit code except PostQuitMessage?
>
> Regards, Oleg
>
>