Autor Beitrag
Spatz
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 57

WIN 2k
D7E
BeitragVerfasst: Do 02.06.05 16:03 
Hallo

Mein Problem liegt darin, dass wenn ich in meinem Delphi7 mein Komponentenpackage compiliere, Delphi abstürzt.

Hat jemand eine Ahnung, an was das liegene könnte (Fehler von Delphi oder evt. von einer meiner Komponenten?)

_________________
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
UGrohne
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Veteran
Beiträge: 5502
Erhaltene Danke: 220

Windows 8 , Server 2012
D7 Pro, VS.NET 2012 (C#)
BeitragVerfasst: Do 02.06.05 16:06 
Wie äußert sich denn der Absturz? Schutzverletzung oder schließt sich Delphi einfach? Text der Fehlermeldung?

Was hast Du denn grob für eine Komponente gebastelt?

Sorry, aber meine Glaskugel ist in der Reinigung ;-)
Spatz Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 57

WIN 2k
D7E
BeitragVerfasst: Do 02.06.05 16:15 
Fehlermeldung:

- Die Anweisung in "0x4003c0a4" verweist auf Speicher in "0x08c11954". Der Vorgang "read" konnte nicht auf dem Speicher durchgeführt werden.
- Exception EAccessViolation in module rtl70.bpl at...
- Die Ausnahme "Unbekannter Softwarefehler" (0x0eedfade) ist in der Anwendung an der Stelle ... aufgetreten
- Exception EOSError in module rtl70.bpl at ... System Error. Code 5. Zugriff verweigert

Also ich habe nicht nur eine Komponente darin enthalten, sondern 17... dh. ich weiss nicht genau welche es sein könnte (es passiert aber erst seit kurzer zeit.)

_________________
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
CenBells
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1547

Win 7
Delphi XE5 Pro
BeitragVerfasst: Do 02.06.05 18:18 
Hi,
sowas hatte ich auch mal.

damals hatte ich etwas an einer komponente verändert. Diese Veränderung hatte was mit zur laufzeit verfügbaren objekten zu tun auf die ich aber auch zur designzeit zugreifen wollte. Da hat einfach eine Abfrage an die entsprechnde Stelle in der Kompo gereicht.

In der Regel ist dieser Fehler also kein generelles Problem und das bedeutet, daß Du selber suchen bzw das Problem weiter eingrenzen musst, bevor wir dir effektiv helfen können.

Gruß
Ken

_________________
Eine Klasse beschreibt die Struktur und das Verhalten einer Menge gleichartiger Objekte.
Spatz Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 57

WIN 2k
D7E
BeitragVerfasst: Fr 03.06.05 12:23 
bei mir sind eigentlich alle objekte zur laufzeit wie zur designzeit erstellt...

Hab nun die Fehlermeldung aber schon mal runterschrauben können. Bekomm nun den Error "Access violation at address 00000000. Read of address 00000000"
Delphi stürzt beim kompilieren nicht mehr ab (erst beim Schliessen..), aber ich bekomme die Form mit der Komponente die die Fehler verursacht (weiss nun welche) nicht mehr auf. (Error: "Access violation at address ... in module vcl70.bpl. Read of address...")
Kann es auch daran liegen, dass ich in dem destruktor zuwenig, resp. zuviel Free'e?

_________________
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.