Click here to Skip to main content
15,896,118 members
Home / Discussions / COM
   

COM

 
GeneralRe: com to save error Pin
Bjarni27-Jun-00 23:46
Bjarni27-Jun-00 23:46 
GeneralRe: com to save error Pin
Alex Gorev28-Jun-00 4:16
Alex Gorev28-Jun-00 4:16 
GeneralWhat's Component Manager Pin
Member 327926-Jun-00 20:34
Member 327926-Jun-00 20:34 
GeneralRe: What's Component Manager Pin
Steeves Saillant9-Jul-00 12:37
Steeves Saillant9-Jul-00 12:37 
GeneralApartments and multi threaded programming Pin
Rajendra Acharya26-Jun-00 4:03
sussRajendra Acharya26-Jun-00 4:03 
GeneralRe: Apartments and multi threaded programming Pin
Alex Gorev26-Jun-00 4:43
Alex Gorev26-Jun-00 4:43 
QuestionHow does a Client know if there is a COM server that belongs to it Pin
KNEI26-Jun-00 2:05
sussKNEI26-Jun-00 2:05 
AnswerRe: How does a Client know if there is a COM server that belongs to it Pin
Keith Hill6-Jul-00 18:35
Keith Hill6-Jul-00 18:35 
First you need to know either the CLSID or the ProgID of the server. If you know the CLSID then convert the CLSID to a string using StringFromCLSID. Then attempt to open the following registry key:

HKEY_CLASSES_ROOT\CLSID\"Your server's CLSID as a string"

If the key exists then the server has been installed on this machine.

If you have the ProgID, you can use CLSIDFromProgID() to get the CLSID and then proceed as indicated above.

The other option, is to use CoCreateInstance() to see if you can actually create the object and then shut it down. However, that might affect performance of your app unacceptably.
AnswerRe: How does a Client know if there is a COM server that belongs to it Pin
Brian Hart9-Aug-00 18:34
Brian Hart9-Aug-00 18:34 
Generalchild windows & controls from an add-in Pin
Aynonymous22-Jun-00 11:38
sussAynonymous22-Jun-00 11:38 
GeneralShell Extensions Pin
John22-Jun-00 6:07
John22-Jun-00 6:07 
GeneralRe: Shell Extensions Pin
Mike Dunn22-Jun-00 8:00
Mike Dunn22-Jun-00 8:00 

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.