Article View: borland.public.cppbuilder.nativeapi
Article #137Re: VCL Form inside TThread->Execute
From: James
Date: Sat, 14 Jun 2008 18:26
Date: Sat, 14 Jun 2008 18:26
38 lines
2745 bytes
2745 bytes
I did post this in the b.p.c.vcl.components.using. It was posted yesturday with the same subject heading. Also, I suppose that means that I can't have multiple instances of the thread class. I.E. I can't create several at once and have multiple threads with their own Message handlers. Is this correct? Thanks. "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket> wrote in message news:48540a59$1@newsgroups.borland.com... > That means the only GUI VCL code is in a certain thread. So the > requirements MAY have been met, that all GUI VCL items are in the same > thread. > > I don't see a message from you in b.p.c.vcl.components.using, and that is > the place where people who have done things like this are found. I > strongly recommend that you post in there and when you do, mention what > you only said in your reply, that the application is not a BCB one. > > . Ed > >> James wrote in message >> news:485403a7@newsgroups.borland.com... >> >> I would, except that the application that uses this thread form in not a >> C++ Builder application. In fact, it does not have its own support for >> multi-thread, however it does allow dll calls. >> >> Hence, I decided to wrap up a form object into a thread and place that >> into a dll. Then they can create an instance and the form runs. The >> reason I need this is because in their main application they may be >> executing a lengthy database query. I wanted to provide a progress bar >> that shows that the application has not hung, but is retrieving data. >> They also want to use this when they download files, to indicate things >> are going well. > >
Technical Details
Message-ID:
<48540d41$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!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> <48540a59$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: "James" <Jim_L_Williams@hotmail.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <4853e32c$1@newsgroups.borland.com> <4853e7cb$1@newsgroups.borland.com> <485403a7@newsgroups.borland.com> <48540a59$1@newsgroups.borland.com> Subject: Re: VCL Form inside TThread->Execute Date: Sat, 14 Jun 2008 13:26:08 -0500 Lines: 40 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 204.194.63.129 Message-ID: <48540d41$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1213467969 204.194.63.129 (14 Jun 2008 11:26:09 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail