Autor Beitrag
delfiphan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2684
Erhaltene Danke: 32



BeitragVerfasst: Mi 27.05.09 21:38 
Hallo zusammen

TObject.SafeCallException wird normalerweise aufgerufen, wenn in einer Methode, welche die safecall Aufrufkonvention hat, eine Exception geraised wird. Funktioniert für fast alles, ausser Access Violations und andere Exceptions, die nicht direkt in Delphi erzeugt werden (cDelphiException Flag fehlt).

Kennt jemand einen Workaround? Ich will, dass alle Exceptions durch TObject.SafeCallException gehen. In der Hilfe steht "SafeCallException handles exceptions in methods that use the safecall calling convention." - da steht nichts davon, dass gewisse Exceptions davon ausgenommen sind. Von dem her eigentlich ein Bug...

Danke
delfiphan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2684
Erhaltene Danke: 32



BeitragVerfasst: Mi 27.05.09 21:54 
edn.embarcadero.com/en/article/30115
Komponente runterladen und installieren. Das überschreibt zur Laufzeit das Exception Handling und fixt das Problem...