Article View: borland.public.cppbuilder.nativeapi
Article #73Re: VCL Form inside TThread->Execute
From: Remy Lebeau (TeamB)
Date: Thu, 19 Jun 2008 19:51
Date: Thu, 19 Jun 2008 19:51
21 lines
1857 bytes
1857 bytes
"James Williams" <Jim_L_Williams@hotmail.com> wrote in message news:48568b97$1@newsgroups.borland.com... > There lies the problem. The application that is used to develope > the database client is not multi thread capable at all. It doesn't need to be. The query is inside its own thread inside the DLL. The client does not need to have any knowledge of that. > So the query must reside in the main application thread. No, it doesn't. You are not doing that anyway. > Hence the need to have a form created in the Thread->Execute > method and allow the progress bar to work under that thread. See my other reply for an alternative approach to your delemna. Gambit
Technical Details
Message-ID:
<485ab907$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4853e32c$1@newsgroups.borland.com> <4853e7cb$1@newsgroups.borland.com> <485403a7@newsgroups.borland.com> <48567d47$1@newsgroups.borland.com> <48568b97$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,de2c8c187b28c177 X-Google-Attributes: gid10cc67,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <4853e32c$1@newsgroups.borland.com> <4853e7cb$1@newsgroups.borland.com> <485403a7@newsgroups.borland.com> <48567d47$1@newsgroups.borland.com> <48568b97$1@newsgroups.borland.com> Subject: Re: VCL Form inside TThread->Execute Date: Thu, 19 Jun 2008 12:51:29 -0700 Lines: 23 Organization: Lebeau Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 NNTP-Posting-Host: 207.178.157.90 Message-ID: <485ab907$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1213905159 207.178.157.90 (19 Jun 2008 12:52:39 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail