Autor Beitrag
Viper
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 88



BeitragVerfasst: So 18.07.04 15:39 
Hallo,

ich lade aus einer DLL ein MDIChild in eine MDIForm.
Das funktioniert solange wunderbar bis ich das MainMenu vom MDIChild benutze. Dann bekomm ich beim Beenden der ganzen Anwendung eine Fehlermeldung. Wenn ich auf keinen MainMenu-Eintrag vom MDIChild klicke, bekomme ich die Meldung nicht!
Weiß jemand woran das liegen könnte?

_________________
"Der Sinussatz ist nur was für Leute, die Teichbesitzer mit Insel und Baum sind. Alle anderen können ihn vergessen" (Mein Mathe-Prof.)
Matthias-K
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 271

Win95, Win98, Win2000, WinXP, Linux
D2, D4 Client/Server, D5 Enterprise, D6 Enterprise, D7 Enterprise, Delphi2005, C/C++ 3.0, C/C ++ 5.0, C/C++ 6.0
BeitragVerfasst: So 18.07.04 17:22 
kannst du mal bitte noch sagen, was für eine fehlermeldung kommt?

das wäre hilfreich. weil so kann es an allem liegen!
die fehlermeldung sagt ja aus, was los ist! solange es keine access violation ist, denn die sagt einem gar nichts.

schreib mal bitte, was die ausbringt!

mfg matthias
Viper Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 88



BeitragVerfasst: So 18.07.04 17:42 
wenn ich das Programm über Delphi laufen lasse bekomme ich eine Benachrichtigung über ein Debugger-Problem und zwar, dass zu viele aufeinander folgende Exceptions aufgetreten sind: Zugriffsverletzung bei 0x00403102: Lesen von Adresse 0x008e2428.

_________________
"Der Sinussatz ist nur was für Leute, die Teichbesitzer mit Insel und Baum sind. Alle anderen können ihn vergessen" (Mein Mathe-Prof.)
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: So 18.07.04 17:56 
Kannst du mal, wenn der Fehler auftritt im Suchen-Menü gucken, unter "Laufzeitfehler suchen" (D5), welche Code-Zeile er dir bei der angegebenen Adresse liefert? Evtl. auch mal deinen Call-Stack untersuchen.

Ansonsten: Versuch mal die Verwendung von Packages. Hat bei mir häufig Wunder bewirkt im Zusammenhang mit DLLs ;-)

_________________
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.
Viper Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 88



BeitragVerfasst: Mo 19.07.04 11:20 
Hallo!

@BenBe: ich habe jetzt meine Units in ein Package gesteckt, nur wie kann ich die dann zur Laufzeit in die Anwendung laden?

_________________
"Der Sinussatz ist nur was für Leute, die Teichbesitzer mit Insel und Baum sind. Alle anderen können ihn vergessen" (Mein Mathe-Prof.)
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: Mo 19.07.04 17:51 
Das laden geht mit LoadPackage, entladen mit UnloadPackage. Ich hab irgendwo noch ein Code-Beipiel rumliegen (kanns allerdings grad nicht posten, da mir der Explorer abgekackt ist).
Schreib mir nochma ne PN, falls ich's vergess.

_________________
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.