🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: inherited Create;

#4692
From: Alistair
Date: Fri, 02 Dec 2005 21:02
16 lines
1543 bytes
Arf... *Slaps head with a large stick*

My original code works fine... the reason why it didn't work when I 
tested it.

MyThread *testThread = new MyThread();

MyThread->Start();

delete testThread; // <--- I didn't wait for the thread to run etc...

What a stupid mistake...

Thanks for your help Gambit.

Alistair
Technical Details
Message-ID: <4390b635$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.code-werk.net!open-news-network.org!news.soft-gems.net!reader.uucp.at!feeder02.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail
References: <438e31c6$1@newsgroups.borland.com> <438e3b10$1@newsgroups.borland.com> <438eb24c$1@newsgroups.borland.com> <438ec656$1@newsgroups.borland.com> <439005f7@newsgroups.borland.com> <4390a5d0$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3e5cce9567b943d3
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 02 Dec 2005 21:02:35 +0000
From: Alistair <NoSpamPlease@Somewhere.Com>
User-Agent: Thunderbird 1.4 (Windows/20050908)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: inherited Create;
References: <438e31c6$1@newsgroups.borland.com> <438e3b10$1@newsgroups.borland.com> <438eb24c$1@newsgroups.borland.com> <438ec656$1@newsgroups.borland.com> <439005f7@newsgroups.borland.com> <4390a5d0$1@newsgroups.borland.com>
In-Reply-To: <4390a5d0$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 84.9.170.38
Message-ID: <4390b635$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1133557301 84.9.170.38 (2 Dec 2005 13:01:41 -0700)
Lines: 16
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.code-werk.net!open-news-network.org!news.soft-gems.net!reader.uucp.at!feeder02.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail