Click here to Skip to main content
15,907,001 members
Home / Discussions / COM
   

COM

 
GeneralRe: IXMLDOMNode as an idl parameter Pin
Daniel Turini9-Oct-02 9:54
Daniel Turini9-Oct-02 9:54 
GeneralAccess Internet Explorer Pin
N4t1v32-Oct-02 8:08
sussN4t1v32-Oct-02 8:08 
GeneralRe: Access Internet Explorer Pin
Stephane Rodriguez.2-Oct-02 9:12
Stephane Rodriguez.2-Oct-02 9:12 
GeneralRe: Access Internet Explorer Pin
Todd Smith7-Oct-02 12:32
Todd Smith7-Oct-02 12:32 
GeneralMIDL changes property 'Count' to 'count' Pin
Anonymous1-Oct-02 7:22
Anonymous1-Oct-02 7:22 
GeneralRe: MIDL changes property 'Count' to 'count' Pin
Vi23-Oct-02 4:12
Vi23-Oct-02 4:12 
GeneralRe: MIDL changes property 'Count' to 'count' Pin
Vi23-Oct-02 17:37
Vi23-Oct-02 17:37 
GeneralCOM design question Pin
Jeremy Pullicino1-Oct-02 4:08
Jeremy Pullicino1-Oct-02 4:08 
Hi guys, I have a COM question which has more to do with design than with actual code.

I have a object A and object B. Both objects have exactly the same interface, however, underneath their interface, they have different implementations.

I also have object C which needs to use the interface that both A and B expose. However, depending on some other criteria, object C needs to either use object A's implementation or use object B's implementation.

I have the following questions:

* How do I have object A and B both installed and registered on the same machine (same interfaces but different implementation). Is it OK to have a different GUID, but the same interfaces(methods, properties)?

* What is the most transparent way of making object C load a different implementation (A or B) depedning on which one it needs?

Could anyone help me with the above? Any pointers, advice, thoughts or questions will be greatly appreciated.

Jeremy.




Jeremy Pullicino
Professional C++ Developer

Done any hacking lately?
GeneralRe: COM design question Pin
Ranjan Banerji1-Oct-02 4:33
Ranjan Banerji1-Oct-02 4:33 
GeneralRe: COM design question Pin
Mike Player1-Oct-02 4:46
Mike Player1-Oct-02 4:46 
GeneralRe: COM design question Pin
Stefan Pedersen1-Oct-02 4:48
Stefan Pedersen1-Oct-02 4:48 
GeneralRe: COM design question Pin
Jörgen Sigvardsson4-Oct-02 10:47
Jörgen Sigvardsson4-Oct-02 10:47 
GeneralRe: COM design question Pin
peterchen1-Oct-02 5:18
peterchen1-Oct-02 5:18 
GeneralRe: COM design question Pin
Steve Hopkins1-Oct-02 7:10
Steve Hopkins1-Oct-02 7:10 
GeneralRe: COM design question Pin
Vi23-Oct-02 4:39
Vi23-Oct-02 4:39 
GeneralRe: COM design question Pin
ZBUILDER13-Oct-02 17:30
ZBUILDER13-Oct-02 17:30 
GeneralCoInitializeSecurity Pin
Jason Henderson1-Oct-02 3:03
Jason Henderson1-Oct-02 3:03 
GeneralI hate string types!!! Pin
LukeV30-Sep-02 9:15
LukeV30-Sep-02 9:15 
GeneralRe: I hate string types!!! Pin
Ernest Laurentin30-Sep-02 17:59
Ernest Laurentin30-Sep-02 17:59 
GeneralRe: I hate string types!!! Pin
peterchen1-Oct-02 6:17
peterchen1-Oct-02 6:17 
GeneralRe: I hate string types!!! Pin
Anonymous23-Oct-02 10:31
Anonymous23-Oct-02 10:31 
QuestionWhy do I get this error? Pin
LukeV30-Sep-02 7:31
LukeV30-Sep-02 7:31 
AnswerRe: Why do I get this error? Pin
Stephane Rodriguez.30-Sep-02 7:53
Stephane Rodriguez.30-Sep-02 7:53 
GeneralActiveX, IE and admin rights Pin
Paul Selormey29-Sep-02 18:35
Paul Selormey29-Sep-02 18:35 
GeneralRe: ActiveX, IE and admin rights Pin
KaЯl4-Oct-02 5:23
KaЯl4-Oct-02 5:23 

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.