![]() |
|
#1
|
|||
|
|||
![]()
Anybody knows how to force terminate a delphi application?
I use D5 with QReport 3.0.5 and this version of QuickReport has a bug when useing QRDBRichText. When u try to close the apllication, after preview the report, an exception error message raise. Because of this , I need to force terminate the apllication. I try: - TerminateProcess(GetWindowLong(WindowHandle, GWL_HINSTANCE), 0); - Application.Terminate; - PostMessage(Handle, WM_CLOSE, 0, 0); nothing works... ![]() How can I do?! I need to kill my application but I don't know how.. ![]() Thank you very much for any idea... |
#2
|
|||
|
|||
![]()
Try
Except End; Trap the exception. You don't need to even check the exception, just stop it from locking up QR. Forcing the application to stop is a very poor programming approach. Harry |
![]() |
Thread Tools | |
Display Modes | |
|
|