Einzelnen Beitrag anzeigen

Benutzerbild von APP
APP

Registriert seit: 24. Feb 2003
Ort: Graz (A)
705 Beiträge
 
Delphi 7 Enterprise
 
#2

Re: Aus TThread ein Form zur Laufzeit erstellen

  Alt 25. Sep 2003, 19:55
Hallo Leute,

ich glaube, für mein Problem gibt es keine Lösung:

Zitat:
> I need to create a designed form in a separate thread. But when I try to
> do it exception occurs!!!
>

The VCL is not thread safe as far as all the visual stuff is concerned.
Forms have to be created in the main thread, they don't work in a
secondary thread.

Peter Below (TeamB)
Quelle: News://borland.public.delphi.objectpascal

Ich habe noch die wildesten Vorschläge dazu gefunden (z.B. eine
neue TApplication Instanz im Thread zu erzeugen,...) aber es
funkte (natürlich) keiner.
Armin P. Pressler

BEGIN
...real programmers are using C/C++ - smart developers Delphi;
END;
  Mit Zitat antworten Zitat