🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #110

DCOM question

#110
From: Dmitry Konnov
Date: Tue, 27 Dec 2005 09:56
34 lines
1742 bytes
Hello!

I want to kill server side COM object without client interaction.

TTCOMServerImpl *a_Thread .....

while(a_Thread->GetUnknown()->Release())

{ int a; a++;};

I release references to object and expect it to be killed by COM
environment.

But the object seems still alive!

I put into it Beep()-s and hear that after references to the object is
removed

it still executes client methods.

This lasts until i touch by mouse server GUI , as if server WM_ messages

force COM environment to kill object actually.

When i touch server GUI by mouse - client throws exception - unable to call
method.

Please help me to Kill server side COM object without client interaction!

Thank you

And Happy New Year

Dmitry.
Technical Details
Message-ID: <43b11012@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: fcd2b,cd0c786aa08a68d1,start
X-Google-Attributes: gidfcd2b,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Dmitry Konnov" <dmitry@weblinedesign.biz>
From: "Dmitry Konnov" <dmitry@weblinedesign.biz>
Newsgroups: borland.public.cppbuilder.database.multi-tier
Subject: DCOM question
Date: Tue, 27 Dec 2005 12:56:12 +0300
Lines: 36
Organization: weblinedesign
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 212.58.203.114
Message-ID: <43b11012@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1135677458 212.58.203.114 (27 Dec 2005 01:57:38 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail