🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Problem with Stringlist in service application

#13502
From: Victor G. Baron
Date: Sat, 11 Oct 2003 07:05
29 lines
1941 bytes
Sorry - missed this:

void __fastcall TService1::ServiceStart(TService *Sender, bool &Started)
{
   ConvThread = new TConvThread(false);
   Started = true;

}

This is copied from the Example directly. So your'e saying I should set it to
true?


>>:|
>>:|> __fastcall TConvThread::TConvThread(bool CreateSuspended)
>>:|
>>:|What are you setting CreateSuspended to?  Under BCB5, if you set
>>:|CreateSuspended to false, the underlying thread object can begin running
>>:|before the constructor has had a chance to execute to initialize the
>>:|thread's members.  If you are not already doing so, you should always create
>>:|a thread suspended and then manually Resume() it after the constructor is
>>:|finished doing what it needs to do.



-- 
Vic Baron
I haven't lost my mind, it's backed up on disk somewhere!
Technical Details
Message-ID: <7rafov8bund056o33nkifsim70r8i6hd8f@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <ppueovg2k6grk500sgq49urri491tltrk7@4ax.com> <3f87807f$1@newsgroups.borland.com> <rn2fovgubqp92b3gv6te6rhj7kh0ih4p30@4ax.com> <3f8791ec@newsgroups.borland.com> <525fovoj0ltdsbhpo7vo2tsen3nrsa2g1l@4ax.com> <3f87a6b6$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,4f6a692a96789751
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-11 00:09:00 PST
From: Victor G. Baron <vgbaron@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Problem with Stringlist in service application
Date: Sat, 11 Oct 2003 00:05:17 -0700
Message-ID: <7rafov8bund056o33nkifsim70r8i6hd8f@4ax.com>
References: <ppueovg2k6grk500sgq49urri491tltrk7@4ax.com> <3f87807f$1@newsgroups.borland.com> <rn2fovgubqp92b3gv6te6rhj7kh0ih4p30@4ax.com> <3f8791ec@newsgroups.borland.com> <525fovoj0ltdsbhpo7vo2tsen3nrsa2g1l@4ax.com> <3f87a6b6$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 66.120.230.18
X-Trace: newsgroups.borland.com 1065855907 66.120.230.18 (11 Oct 2003 00:05:07 -0700)
Lines: 29
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail