Article View: borland.public.cppbuilder.nativeapi
Article #13756TThread
From: Andy
Date: Thu, 11 Sep 2003 21:10
Date: Thu, 11 Sep 2003 21:10
12 lines
1414 bytes
1414 bytes
I am tring to create a thread that will run in the background, so if someone clicks a stop button on the main form it will reset info that was changed during the thread execution and then terminate. I am using the Create New Thread Object Method. I seam to have a working thread, but my program seams to be waiting for the completion of the thread before it goes on. I can't even move my form. I am using this line to start the thread on a button click TestItThread = new TthreadTest(false); Should I do it a different way? I am using BCB4 Thanks Andy
Technical Details
Message-ID:
<3f60e4dc$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,b3bd84980f619f6,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-09-11 14:18:22 PST From: "Andy" <andyholcomb@comcast.net> Sender: "Andy" <andyholcomb@comcast.net> Reply-To: "Andy" <andyholcomb@comcast.net> Subject: TThread Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 66.12.8.230 66.12.8.230 NNTP-Posting-Host: 207.105.83.65 Message-ID: <3f60e4dc$1@newsgroups.borland.com> Date: 11 Sep 2003 14:10:52 -0700 X-Trace: newsgroups.borland.com 1063314652 207.105.83.65 (11 Sep 2003 14:10:52 -0700) Lines: 13 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail