Autor Beitrag
Flamefire
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1207
Erhaltene Danke: 31

Win 10
Delphi 2009 Pro, C++ (Visual Studio)
BeitragVerfasst: Di 17.03.09 17:36 
ich habe ein dll, die in ein programm geladen wird.
wenn ich mit ollydbg gucke, ob alles so läuft wie es soll, fiel mir auf, dass die exception 0EEDFADE geraist wurde (konnte sie mit STRG+F9 an das programm geben und kein problem mehr)
es läuft auch alles und stürzt nicht ab.
was ist das aber für eine?
Kann es mit den Indys zusammenhängen? (Lade eine datei per idhttp aus dem netz)
Xentar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2077
Erhaltene Danke: 2

Win XP
Delphi 5 Ent., Delphi 2007 Prof
BeitragVerfasst: Di 17.03.09 17:39 
Die Adresse kommt mir bekannt vor..
glaub, das hat irgendwas damit zu tun, wenn eine DLL nicht (korrekt) geladen werden konnte?

Mit Indy und einem Download kann das eigentlich nicht zusammenhängen, es sei denn, du hast da richtig fiese Speicher-Überschreibungen drin.

_________________
PROGRAMMER: A device for converting coffee into software.
Flamefire Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1207
Erhaltene Danke: 31

Win 10
Delphi 2009 Pro, C++ (Visual Studio)
BeitragVerfasst: Di 17.03.09 20:16 
ist keine adresse sondern ein errorcode wie access_violation...

aber indy raised ja sowas wie "exception_successfull" wenn ein download abgeschlossen ist...kann es das sein?
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Di 17.03.09 20:22 
0EEDFADE ist der intern von Delphi verwendete Fehlercode, um seine eigenen Exceptions über Windows zu schleifen.

Die Indy's sind dafür bekannt, in einem Thread eben solche Exceptions zu werfen, ohne diese zu fangen. Dadurch erhält Windows die Controlle über einen Errorcode, den es nicht behandeln kann (Access Violations sind C0000005; das C steht für einen Kernel-Mode-Fehler).

Das Einfachste ist, bei den Indy's den internen Fehler entsprechend einmal abzufangen.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.