Article View: borland.public.cppbuilder.nativeapi
Article #13507Re: Problem with Stringlist in service application
From: Remy Lebeau (TeamB)
Date: Sat, 11 Oct 2003 07:20
Date: Sat, 11 Oct 2003 07:20
22 lines
1747 bytes
1747 bytes
"Victor G. Baron" <vgbaron@hotmail.com> wrote in message
news:7rafov8bund056o33nkifsim70r8i6hd8f@4ax.com...
> This is copied from the Example directly. So your'e saying I should set it
to
> true?
Yes, ie:
void __fastcall TService1::ServiceStart(TService *Sender, bool &Started)
{
ConvThread = new TConvThread(true);
ConvThread->Resume();
Started = true;
}
Unless you have the thread's constructor call Resume() at the end of itself,
then the service code doesn't need to call Resume().
Gambit
Technical Details
Message-ID:
<3f87aeca$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<ppueovg2k6grk500sgq49urri491tltrk7@4ax.com> <3f87807f$1@newsgroups.borland.com> <rn2fovgubqp92b3gv6te6rhj7kh0ih4p30@4ax.com> <3f8791ec@newsgroups.borland.com> <525fovoj0ltdsbhpo7vo2tsen3nrsa2g1l@4ax.com> <3f87a6b6$1@newsgroups.borland.com> <7rafov8bund056o33nkifsim70r8i6hd8f@4ax.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:39:01 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <ppueovg2k6grk500sgq49urri491tltrk7@4ax.com> <3f87807f$1@newsgroups.borland.com> <rn2fovgubqp92b3gv6te6rhj7kh0ih4p30@4ax.com> <3f8791ec@newsgroups.borland.com> <525fovoj0ltdsbhpo7vo2tsen3nrsa2g1l@4ax.com> <3f87a6b6$1@newsgroups.borland.com> <7rafov8bund056o33nkifsim70r8i6hd8f@4ax.com> Subject: Re: Problem with Stringlist in service application Date: Sat, 11 Oct 2003 00:20:26 -0700 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 67.22.137.75 Message-ID: <3f87aeca$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1065856714 67.22.137.75 (11 Oct 2003 00:18:34 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail