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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crash on main form close

Status
Not open for further replies.

Wings

Programmer
Feb 14, 2002
247
US
Hi,
I have a program with about 12 forms, which are all auto created. When I start the program, even if i dont show any of the other forms, when I close the main form, I get a crash, It crashes in forms.hpp file on the

/* TCustomForm.Destroy */ inline __fastcall virtual ~TForm(void) { }

line.

I am not performing any actions on the form close.

Any ideas?

-Thanks
 
Maybe you should be performing some actions. Generally, a crash like that would be some object, class, or COM that was not correctly destroyed. Do you have anything dynamic that you're creating or threads that are executing?
 
I do have a thread that is created on startup.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top