Click here to Skip to main content
15,905,427 members
Home / Discussions / COM
   

COM

 
GeneralInterface Inheritance Pin
Paul Rogan30-Apr-01 1:22
Paul Rogan30-Apr-01 1:22 
GeneralRe: Interface Inheritance Pin
Pete Bassett30-Apr-01 1:38
Pete Bassett30-Apr-01 1:38 
GeneralRe: Interface Inheritance Pin
Paul Rogan30-Apr-01 1:54
Paul Rogan30-Apr-01 1:54 
GeneralRe: Interface Inheritance Pin
Ryan Park2-May-01 7:59
Ryan Park2-May-01 7:59 
GeneralQuery a specific COM DLL for an interface Pin
Martin Eskildsen29-Apr-01 21:21
Martin Eskildsen29-Apr-01 21:21 
GeneralRe: Query a specific COM DLL for an interface Pin
Michael Dunn29-Apr-01 22:48
sitebuilderMichael Dunn29-Apr-01 22:48 
GeneralRe: Query a specific COM DLL for an interface Pin
Martin Eskildsen29-Apr-01 23:15
Martin Eskildsen29-Apr-01 23:15 
GeneralRe: Query a specific COM DLL for an interface Pin
Michael Dunn30-Apr-01 7:16
sitebuilderMichael Dunn30-Apr-01 7:16 
You're confusing DLLs vs. COM servers, and CLSIDs vs. IIDs.
First, when creating a COM object, you reference the server by its CLSID, not its filename. CoCreateInstance() takes the CLSID.
You also can request an interface in CoCreateInstance(). So if you have the CLSID of one of the servers, and the IID they support (say IID_IMyInterface) you pass both of those to CoCreateInstance() and check the return value to see if it succeeded.

--Mike--
http://home.inreach.com/mdunn/
The Signature, back by popular demand: Buffy. Pajamas.
GeneralRe: Query a specific COM DLL for an interface Pin
Felix Cho30-Apr-01 10:23
Felix Cho30-Apr-01 10:23 
GeneralCustom OLEDB Provider Pin
26-Apr-01 12:12
suss26-Apr-01 12:12 
GeneralA Request(Sorry to post it here) Pin
2-May-01 18:57
suss2-May-01 18:57 
GeneralRe: Custom OLEDB Provider Pin
3-May-01 18:05
suss3-May-01 18:05 
GeneralWTL, Attila, Windowing Pin
26-Apr-01 8:19
suss26-Apr-01 8:19 
GeneralATL/COM and #import directive Pin
25-Apr-01 6:48
suss25-Apr-01 6:48 
GeneralRe: ATL/COM and #import directive Pin
Joseph Dempsey30-Apr-01 7:34
Joseph Dempsey30-Apr-01 7:34 
GeneralRe: ATL/COM and #import directive Pin
Ryan Park2-May-01 8:18
Ryan Park2-May-01 8:18 
GeneralRe: ATL/COM and #import directive Pin
SuperGeek2-May-01 9:09
SuperGeek2-May-01 9:09 
GeneralDCOM Server with UI Pin
Tony Li24-Apr-01 10:03
Tony Li24-Apr-01 10:03 
GeneralSerialize calls to a COM object in a single threaded model Pin
23-Apr-01 6:42
suss23-Apr-01 6:42 
GeneralRe: Serialize calls to a COM object in a single threaded model Pin
SuperGeek25-Apr-01 7:09
SuperGeek25-Apr-01 7:09 
GeneralRe: Serialize calls to a COM object in a single threaded model Pin
25-Apr-01 21:43
suss25-Apr-01 21:43 
GeneralRe: Serialize calls to a COM object in a single threaded model Pin
1-May-01 10:35
suss1-May-01 10:35 
GeneralWord 2000 Pin
DrunkerII20-Apr-01 9:26
DrunkerII20-Apr-01 9:26 
Question[string] atttribute ?? Pin
Glenn Wardius18-Apr-01 6:40
Glenn Wardius18-Apr-01 6:40 
AnswerRe: [string] atttribute ?? Pin
Joseph Dempsey30-Apr-01 7:38
Joseph Dempsey30-Apr-01 7:38 

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.