Article View: borland.public.cppbuilder.nativeapi
Article #10113Re: Hybrid (Service + App)
From: Remy Lebeau (TeamB)
Date: Sat, 15 May 2004 21:05
Date: Sat, 15 May 2004 21:05
19 lines
1901 bytes
1901 bytes
"Frank Gruber" <HVFDMIPUMFPS@spammotel.com> wrote in message news:40a5cc24$1@newsgroups.borland.com... > Does the service have to be interactive because of this window ? No. But at the same time, though, I would suggest avoiding Synchronize() in a service altogether anyway. The service itself is already executing in its own worker thread (not the main thread). There's not much need to use Synchronize() in the first place, just use normal inter-thread synchronizing mechanisms, such as mutexs and critical sections. > Do you have to care about it when user logoff occurs ? There are some known issues with the VCL and user logoff, but only if you are using things that are not logoff-safe to begin with. Gambit
Technical Details
Message-ID:
<40a68770$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40a4b84e@newsgroups.borland.com> <40a50242$1@newsgroups.borland.com> <40a510da$1@newsgroups.borland.com> <40a52b88$1@newsgroups.borland.com> <40a54492@newsgroups.borland.com> <40a54581$1@newsgroups.borland.com> <40a5cc24$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,f39ab9099040c7a4 X-Google-Attributes: gid10cc67,public From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <40a4b84e@newsgroups.borland.com> <40a50242$1@newsgroups.borland.com> <40a510da$1@newsgroups.borland.com> <40a52b88$1@newsgroups.borland.com> <40a54492@newsgroups.borland.com> <40a54581$1@newsgroups.borland.com> <40a5cc24$1@newsgroups.borland.com> Subject: Re: Hybrid (Service + App) Date: Sat, 15 May 2004 14:05:55 -0700 Lines: 21 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.138.253 Message-ID: <40a68770$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1084655472 67.22.138.253 (15 May 2004 14:11:12 -0700) Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail