🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #136

Re: VCL Form inside TThread->Execute

#136
From: Ed Mulroy [TeamB]
Date: Sat, 14 Jun 2008 18:13
25 lines
2170 bytes
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: <48540a59$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4853e32c$1@newsgroups.borland.com> <4853e7cb$1@newsgroups.borland.com> <485403a7@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: "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4853e32c$1@newsgroups.borland.com> <4853e7cb$1@newsgroups.borland.com> <485403a7@newsgroups.borland.com>
Subject: Re: VCL Form inside TThread->Execute
Date: Sat, 14 Jun 2008 14:13:45 -0400
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 69.142.0.27
Message-ID: <48540a59$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1213467225 69.142.0.27 (14 Jun 2008 11:13:45 -0700)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail