AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Sprachen und Entwicklungsumgebungen Object-Pascal / Delphi-Language Delphi Restarting Main Application in TThread Class
Thema durchsuchen
Ansicht
Themen-Optionen

Restarting Main Application in TThread Class

Ein Thema von FaNIX · begonnen am 1. Feb 2008 · letzter Beitrag vom 7. Feb 2008
 
FaNIX

Registriert seit: 8. Okt 2007
36 Beiträge
 
#6

Re: Restarting Main Application in TThread Class

  Alt 4. Feb 2008, 12:43
Zitat von alzaimar:
Why don't you send a message to the main form which then terminates your thread, waits for it and finally restarts the application?
Yes I thought of that, but I'm not sure how to send a message to my Main application once the thread as terminated.

As i said, the Main application must terminate, depending on the outcome of the thread. So the thread should first finish before the outcome is known, and only then can the Main application be terminated.
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:26 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz