![]() |
TApplicationEvents
Wie kann ich am einfachsten herausfinden von welcher Form eine Exception kommt wenn die Komponenete auf der MainForm liegt
|
Re: TApplicationEvents
AFAIK gar nicht. Wenn die Exception in TApplicationEvents ankommt sind alle entsprechenden Informationen schon verloren.
Hier bietet aber die ![]() |
Re: TApplicationEvents
Sakura hat doch so was in der Richtung mal gemacht. Wenn die Compiler-Schalter richtig gesetzt sind wird sogar die Zeile angezeigt.
|
Re: TApplicationEvents
Genau das macht auch das Jedi-Beispiel.
Ein Beispiel der Ausgaben der Demo-Programme:
Code:
Exception EAccessViolation: Zugriffsverletzung bei Adresse 00467759 in Modul 'FramesTrackExample.exe'. Schreiben von Adresse 00000000 (OS Exception)
Exception occured at $00467759 (Module "FramesTrackDemoMain", Procedure "TForm1.Button1Click", Unit "FramesTrackDemoMain.pas", Line 125) Except frame-dump: Frame at $0012F634 (type: efkFinally) Code at $00467769 Module "FramesTrackDemoMain", Procedure "TForm1.Button1Click", Unit "FramesTrackDemoMain.pas", Line 125 Frame at $0012F97C (type: efkFinally) Code at $00440254 Module "Controls", Procedure "TWinControl.MainWndProc", Unit "", Line 0 Frame at $0012F988 (type: efkAnyException, handles exception) Handler at $00440275 Module "Controls", Procedure "TWinControl.MainWndProc", Unit "", Line 0 |
Re: TApplicationEvents
Das von der Jedi kenn ich ist zwar schön hat leider einen sehr grossen nachteil.
Noch einfacher kann ich es einem Hacken der die EXE decompelieren will nicht machen. :( |
Re: TApplicationEvents
Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 03:34 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz