Autor Beitrag
Sylvus
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 195



BeitragVerfasst: Mo 24.08.09 17:35 
hay Leute, komisches Problem.
nach einigen Eingaben schließt sich mein Programm. Das heißt, die Form verschwindet, aber es wird in meiner Entwicklungsumgebung weiterhin als laufend angezeigt. Wollte fragen, ob ihr so ne Idee habt, was es sein kann, ohne das ich den ganzen Quellcode posten muss^^
Viele Grüße Sylvus


P.S. geht auch ohne Borland...
Die Anwendung wird im taskmanager ausgeblendet, läuft aber als Prozess weiter...
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: Mo 24.08.09 17:42 
Ohne, dass wir auch nur ansatzweise wissen, was deine Anwendung tut, wird das schwierig..

- Du versteckst das MainForm
- Problem mit mehreren Threads
- Irgendwas ganz anderes

Was heißt "nach ein paar Eingaben"? Muss man was in Edit Felder eintippen, auf buttons klicken, oder wie oder was?
Ist das ganze reproduzierbar (immer nach den selben Buttons)?

_________________
PROGRAMMER: A device for converting coffee into software.
Sylvus Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 195



BeitragVerfasst: Mo 24.08.09 17:48 
Ne sind ziemliche viele Sachen die da ablaufen, aber ich glaub es liegt daran, das ein Feld überschrieben wurde...
also ich habs jetzt grad gelöst, durch ne Schleife, die alle Werte eines Arrays auf 0 zurücksetzt und alle Bilder wieder visible:=true setzt.

Kann das sein, das die ganze Form unsichtbar wird, weil ein Bild mehrmals visible:=true; gesetzt wird?
... Ich geh der Sache gleich mal auf den Grund... muss aber erstmal weg!

Probolem ist aber grad behoben, ich schau mal an welcher Stelle es wieder auftritt^^

Danke trotzde
Grüße Sylvus
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: Mo 24.08.09 18:39 
user profile iconSylvus hat folgendes geschrieben Zum zitierten Posting springen:
Kann das sein, das die ganze Form unsichtbar wird, weil ein Bild mehrmals visible:=true; gesetzt wird?


Nö, eigentlich nicht.
Aber, wenn du in einem Array zu weit läufst (Indexüberschreitung), kann dies merkwürdige Effekte haben.
Dafür gibts nen speziellen Compilerschalter. Bereichsprüfung und Indexprüfung. Mach die mal an, erzeug das Projekt neu, und lass es ganz normal laufen. Vielleicht schlägt der ja irgendwo an.

_________________
PROGRAMMER: A device for converting coffee into software.