In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

WM_QUIT

Xailer professional forum in English
Responder
Oleg
Mensajes: 474
Registrado: Mié Jun 07, 2006 3:45 pm

WM_QUIT

Mensaje 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
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

WM_QUIT

Mensaje 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
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

WM_QUIT

Mensaje 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
>
Oleg
Mensajes: 474
Registrado: Mié Jun 07, 2006 3:45 pm

WM_QUIT

Mensaje 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
Oleg
Mensajes: 474
Registrado: Mié Jun 07, 2006 3:45 pm

WM_QUIT

Mensaje 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
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

WM_QUIT

Mensaje 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
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

WM_QUIT

Mensaje 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
>
>
Responder