Article View: borland.public.cppbuilder.nativeapi
Article #8404How should a COM server decline COM requests
From: Andrue Cope [TeamB]
Date: Fri, 29 Oct 2004 09:00
Date: Fri, 29 Oct 2004 09:00
15 lines
1502 bytes
1502 bytes
We have an application that can also be a COM server. The way it is coded means that it must be one or the other. IOW if someone has launched the application independantly it should be able to tell any potential clients to get lost and start another copy. How do we go about doing this? Should we remove the static initialisation of the TComServer object and do that conditionally or is there a method we can call to switch the server off? -- Andrue Cope [TeamB] [Bicester, Uk] http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<418206c0@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed.kamp.net!newsfeed.freenet.de!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,91cd7a0a7f21d9df,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Andrue Cope [TeamB]" <no.spam@not.a.valid.address> Subject: How should a COM server decline COM requests Newsgroups: borland.public.cppbuilder.nativeapi User-Agent: XanaNews/1.16.4.6 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 NNTP-Posting-Host: 217.207.223.34 Message-ID: <418206c0@newsgroups.borland.com> Date: 29 Oct 2004 02:00:48 -0700 X-Trace: newsgroups.borland.com 1099040448 217.207.223.34 (29 Oct 2004 02:00:48 -0700) Lines: 15 X-Authenticated-User: acope Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed.kamp.net!newsfeed.freenet.de!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail