Click here to Skip to main content
15,924,452 members
Home / Discussions / COM
   

COM

 
QuestionHow to use one instance of a COM object in different processes? Pin
Jawid5-Jul-02 5:37
Jawid5-Jul-02 5:37 
AnswerRe: How to use one instance of a COM object in different processes? Pin
Scot T Brennecke6-Jul-02 4:53
Scot T Brennecke6-Jul-02 4:53 
GeneralRe: How to use one instance of a COM object in different processes? Pin
8-Jul-02 4:22
suss8-Jul-02 4:22 
AnswerRe: How to use one instance of a COM object in different processes? Pin
8-Jul-02 4:17
suss8-Jul-02 4:17 
AnswerRe: How to use one instance of a COM object in different processes? Pin
Pedro Miranda8-Jul-02 4:47
Pedro Miranda8-Jul-02 4:47 
AnswerRe: How to use one instance of a COM object in different processes? Pin
Jawid9-Jul-02 16:18
Jawid9-Jul-02 16:18 
GeneralRe: How to use one instance of a COM object in different processes? Pin
Ed K12-Jul-02 8:09
Ed K12-Jul-02 8:09 
QuestionCan somebody please answer this? Pin
JohnnyG3-Jul-02 14:26
JohnnyG3-Jul-02 14:26 
Ok. I'm trying to use a COM OCX object in a C program. I've done some research and found out how to call and instantiate a COM object from C. However, I do not know how to generate a header file for object type or interface declarations.

SOPTEST replied with some useful info but all I can find out is info on how to develop a COM object using C and not how to use an existing one that is already in the registry that I didn't develop. I want to use MSCOMM32.OCX in a C program. How do I get the declaration for the IMSComm and other interfaces?

I know how to get the IUknown interface, call QueryInterface, etc. And, I know that getting an interface pointer is really a void** so I could create a void pointer and call it anything I like and use it but that doesn't seem right or is it???? I've learned how to view the typelib, CLASSID, etc. from OLE/COM Object viewer so I don't think I'm an idiot, I just need some help.

Is there someway of interpreting the type library and converting it into a header file that I am not aware of? Anybody??
AnswerRe: Can somebody please answer this? Pin
soptest3-Jul-02 14:39
soptest3-Jul-02 14:39 
GeneralRe: Can somebody please answer this? Pin
JohnnyG3-Jul-02 14:59
JohnnyG3-Jul-02 14:59 
GeneralRe: Can somebody please answer this? Pin
JohnnyG3-Jul-02 15:36
JohnnyG3-Jul-02 15:36 
AnswerRe: Can somebody please answer this? Pin
Stuart Dootson3-Jul-02 14:45
professionalStuart Dootson3-Jul-02 14:45 
GeneralRe: Can somebody please answer this? Pin
Stuart Dootson3-Jul-02 14:47
professionalStuart Dootson3-Jul-02 14:47 
GeneralUnregistered objects Pin
Stuart Dootson3-Jul-02 14:21
professionalStuart Dootson3-Jul-02 14:21 
GeneralRe: Unregistered objects Pin
Scot T Brennecke6-Jul-02 4:50
Scot T Brennecke6-Jul-02 4:50 
GeneralFirst Time COM user w/ MSXML Pin
electronicman_x3-Jul-02 9:35
electronicman_x3-Jul-02 9:35 
GeneralAddin load problem Pin
Zizilamoroso3-Jul-02 4:38
Zizilamoroso3-Jul-02 4:38 
GeneralRe: Addin load problem Pin
Amit Dey4-Jul-02 10:31
Amit Dey4-Jul-02 10:31 
GeneralRe: Addin load problem Pin
Zizilamoroso5-Jul-02 6:45
Zizilamoroso5-Jul-02 6:45 
GeneralGet the caller thread Id of a marshalled interface Pin
2-Jul-02 7:46
suss2-Jul-02 7:46 
GeneralRe: Get the caller thread Id of a marshalled interface Pin
Len Holgate4-Jul-02 12:42
Len Holgate4-Jul-02 12:42 
GeneralRe: Get the caller thread Id of a marshalled interface Pin
4-Jul-02 21:50
suss4-Jul-02 21:50 
GeneralRe: Get the caller thread Id of a marshalled interface Pin
Len Holgate4-Jul-02 22:22
Len Holgate4-Jul-02 22:22 
GeneralRe: Get the caller thread Id of a marshalled interface Pin
4-Jul-02 22:43
suss4-Jul-02 22:43 
GeneralRe: Get the caller thread Id of a marshalled interface Pin
Len Holgate4-Jul-02 22:49
Len Holgate4-Jul-02 22:49 

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.