Click here to Skip to main content
15,914,594 members
Home / Discussions / COM
   

COM

 
GeneralRe: How to extract data from VARIANT? Pin
Nirav Doshi3-Sep-04 8:52
Nirav Doshi3-Sep-04 8:52 
GeneralRe: How to extract data from VARIANT? Pin
Jörgen Sigvardsson3-Sep-04 9:09
Jörgen Sigvardsson3-Sep-04 9:09 
GeneralRe: How to extract data from VARIANT? Pin
Nirav Doshi3-Sep-04 9:16
Nirav Doshi3-Sep-04 9:16 
QuestionActiveX TypeLib Practices: property or method? Pin
KFournier3-Sep-04 6:29
KFournier3-Sep-04 6:29 
AnswerRe: ActiveX TypeLib Practices: property or method? Pin
Jörgen Sigvardsson3-Sep-04 8:40
Jörgen Sigvardsson3-Sep-04 8:40 
AnswerRe: ActiveX TypeLib Practices: property or method? Pin
Jörgen Sigvardsson3-Sep-04 8:41
Jörgen Sigvardsson3-Sep-04 8:41 
GeneralRe: ActiveX TypeLib Practices: property or method? Pin
KFournier3-Sep-04 9:15
KFournier3-Sep-04 9:15 
QuestionIs my client still there? Pin
FearlessBurner2-Sep-04 6:29
FearlessBurner2-Sep-04 6:29 
I have an out-of-process exe server which was a one-to-one connection with a client. The client will start the exe server when using CoCreateInstance() in the usual way, generating an IMyInterface pointer. In normal execution, when the client process closes, Release() is called for the IMyInterface pointer, which terminates the server.

Unfortunately, there are some instabilities in the client executable over which I have no control. If the client crashes, which it does particularly during testing, then the normal IMyInterface Release() is not called, and thus the server does not get released and stays executing.

What I would like to be able to do is to test whether the client is still running. My problem is that the wizard-generated event sink code does not return an E_FAIL or similar error code, if the connection fails. I know that there are several ways in which I could address this problem, each with their own disadvantages. I would really appreciate if anyone could offer any help on this, of advise me whether I am missing something obvious.


FB
AnswerRe: Sorted :) Pin
FearlessBurner6-Sep-04 1:50
FearlessBurner6-Sep-04 1:50 
GeneralOut-Process Vs In-Process COM Performnace Issue Pin
DeepakSharma2-Sep-04 1:23
DeepakSharma2-Sep-04 1:23 
GeneralRe: Out-Process Vs In-Process COM Performnace Issue Pin
geo_m14-Oct-04 1:55
geo_m14-Oct-04 1:55 
Generalexplorer bar Pin
rolati1-Sep-04 23:45
rolati1-Sep-04 23:45 
GeneralRe: explorer bar Pin
Anonymous2-Sep-04 8:50
Anonymous2-Sep-04 8:50 
QuestionHow to get the application Root Directory runtime? Pin
Member 7436551-Sep-04 16:46
Member 7436551-Sep-04 16:46 
GeneralCOM release build problem Pin
alex.barylski31-Aug-04 20:36
alex.barylski31-Aug-04 20:36 
GeneralRe: COM release build problem Pin
Rory Solley31-Aug-04 21:30
Rory Solley31-Aug-04 21:30 
GeneralRe: COM release build problem Pin
alex.barylski1-Sep-04 9:10
alex.barylski1-Sep-04 9:10 
GeneralRe: COM release build problem Pin
ShaunOldale1-Sep-04 12:24
ShaunOldale1-Sep-04 12:24 
GeneralRe: COM release build problem Pin
alex.barylski2-Sep-04 18:33
alex.barylski2-Sep-04 18:33 
QuestionHow to implement ScrollBars in a atl control Pin
cosmicYang31-Aug-04 20:03
cosmicYang31-Aug-04 20:03 
AnswerRe: How to implement ScrollBars in a atl control Pin
Anonymous1-Sep-04 6:24
Anonymous1-Sep-04 6:24 
GeneralRe: How to implement ScrollBars in a atl control Pin
cosmicYang1-Sep-04 14:42
cosmicYang1-Sep-04 14:42 
GeneralCommunicating with Excel (VC++ 6.0 MFC) Pin
shibble31-Aug-04 7:30
shibble31-Aug-04 7:30 
GeneralRe: Communicating with Excel (VC++ 6.0 MFC) Pin
darkbyte1-Sep-04 8:16
darkbyte1-Sep-04 8:16 
GeneralRe: Communicating with Excel (VC++ 6.0 MFC) Pin
shibble1-Sep-04 8:24
shibble1-Sep-04 8:24 

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.