To Antonio: Slow finalization??

Post Reply
User avatar
JC
Posts: 445
Joined: Thu Feb 21, 2008 11:58 am
Location: Brazil
Contact:

To Antonio: Slow finalization??

Post by JC »

Dear Antonio,

How are you?

I have a new problem into my fivewin 9.0.6... This is my source to finalize the application:

Code: Select all

PROCEDURE SAIR()

   PostQuitMessage( 0 )
   __Quit()

RETURN
But, this this is taking too long. 5 seconds to finish it!
Anything is wrong in my source?

Please, help me!
Peace and lighting!

Júlio César M. Ferreira

FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: To Antonio: Slow finalization??

Post by Enrico Maria Giordano »

You don't need of that function. Just return from the main one will properly close your application.

EMG
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: To Antonio: Slow finalization??

Post by Antonio Linares »

You should not call __Quit()

It is not needed and not recommended

and as Enrico tells you, there is no need also to call PostQuitMessage() as FWH will do it automatically when the main window is ended.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply