Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Terminating Application

Status
Not open for further replies.

teubenragee

Programmer
May 22, 2001
27
0
0
DE
My probleme is simple...
I Run my Appli, No pb!
But when I terminate It, Either by close the Main window or by sending the WM_QUIT signal or by calling the
Application->Terminate() function

My appli calls a function Application.Free (in Controls.pas)
And in this function the GetHandle function fails

This is the last function that my appli runs (after the return 0 in the main function) so I don't think It comes from my destructors

And now all my applis written under builder have this problem

So I've formatted my Hard disk and it doesn't solve the problem

What could it come from?
Please Help!!!!
 
try calling Close();
but make sure you have Application->Terminate(); in either the FormQueryClose() or FormClose() subs
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top