🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
1 messages
1 total messages Started by Dmitry Konnov Tue, 27 Dec 2005 09:56
DCOM question
#110
Author: 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads