Click here to Skip to main content
15,892,746 members
Home / Discussions / COM
   

COM

 
QuestionLocking keyboard and mouse of a computer in the same LAN using Java Pin
Sara_fjr4-Feb-07 2:32
Sara_fjr4-Feb-07 2:32 
QuestionVB6 call .net Dll Pin
vtalau1-Feb-07 22:49
vtalau1-Feb-07 22:49 
AnswerRe: VB6 call .net Dll Pin
host287-Feb-07 14:55
host287-Feb-07 14:55 
QuestionReceiving COM events without TYPELIB Pin
Aleksey.Andreev1-Feb-07 21:50
Aleksey.Andreev1-Feb-07 21:50 
QuestionRe: Receiving COM events without TYPELIB Pin
Roger Stoltz5-Feb-07 11:42
Roger Stoltz5-Feb-07 11:42 
AnswerRe: Receiving COM events without TYPELIB Pin
host285-Feb-07 16:07
host285-Feb-07 16:07 
QuestionOpening Word in ASP.NET Pin
dspyank1-Feb-07 6:13
dspyank1-Feb-07 6:13 
QuestionLocal server lifetime query Pin
User 2155971-Feb-07 1:21
User 2155971-Feb-07 1:21 
I have a Local Server created in MFC. It displays a modal dialog with a "logout" button. It also contains a COM coclass "A" to which clients are connected. Everything works fine till all clients follow proper reference count rules.
But if a client terminates abnormally, then this coclass "A" has an outstanding reference count on Local server. When user clicks "logout" button, the application dialog closes but the server continues running in background because of this outstanding reference count.

I understand that when the proxy no longer exists in this case, the stub will do a cleanup automatically but after few minutes.

But the requirement is to force the application to shutdown completely when "logout" button is clicked. I have thought of few ways to do it, but I would like to know your thoughts on this so I can choose the best possible solution.

Thank you for your time.

S o h a i l K a d i w a l a

To Err Is Human; to Debug, Divine


modified 21-Apr-21 21:01pm.

Questioni wana show the plugin only in Outlook and wana hide in Word and Excel Pin
salman kazi1-Feb-07 0:44
salman kazi1-Feb-07 0:44 
AnswerRe: i wana show the plugin only in Outlook and wana hide in Word and Excel Pin
host285-Feb-07 16:10
host285-Feb-07 16:10 
QuestionUnable to use WSDL file created by Microsoft SOAP tool kit version 3 Pin
rsgdba31-Jan-07 3:49
rsgdba31-Jan-07 3:49 
QuestionActiveX events in Webpage using VBScript Pin
Tiger45631-Jan-07 1:25
Tiger45631-Jan-07 1:25 
Questionwhat care we must take to modify the registry entries? Pin
kalaveer30-Jan-07 19:16
kalaveer30-Jan-07 19:16 
AnswerRe: what care we must take to modify the registry entries? Pin
host287-Feb-07 14:58
host287-Feb-07 14:58 
QuestionUnable to get the problem. Pin
kalaveer30-Jan-07 19:01
kalaveer30-Jan-07 19:01 
AnswerRe: Unable to get the problem. Pin
User 21559731-Jan-07 0:25
User 21559731-Jan-07 0:25 
QuestionWrite a IE toolbar by VS 2005 Pin
saminjesus29-Jan-07 22:31
saminjesus29-Jan-07 22:31 
AnswerRe: Write a IE toolbar by VS 2005 Pin
prasad_som29-Jan-07 23:03
prasad_som29-Jan-07 23:03 
GeneralRe: Write a IE toolbar by VS 2005 Pin
saminjesus30-Jan-07 14:46
saminjesus30-Jan-07 14:46 
AnswerRe: Write a IE toolbar by VS 2005 Pin
prasad_som30-Jan-07 17:06
prasad_som30-Jan-07 17:06 
GeneralRe: Write a IE toolbar by VS 2005 Pin
saminjesus31-Jan-07 16:01
saminjesus31-Jan-07 16:01 
AnswerRe: Write a IE toolbar by VS 2005 Pin
host287-Feb-07 15:04
host287-Feb-07 15:04 
QuestionUnknown fault trying connect to an OPC-Server Pin
Biasto29-Jan-07 20:05
Biasto29-Jan-07 20:05 
AnswerRe: Unknown fault trying connect to an OPC-Server Pin
User 21559730-Jan-07 1:12
User 21559730-Jan-07 1:12 
GeneralRe: Unknown fault trying connect to an OPC-Server Pin
Biasto30-Jan-07 3:19
Biasto30-Jan-07 3:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.