Click here to Skip to main content
15,923,376 members
Home / Discussions / COM
   

COM

 
GeneralIShellView without creating a namespace Pin
Jonatan Dahl8-Aug-02 15:24
Jonatan Dahl8-Aug-02 15:24 
Generaltype mismatch Pin
Lily188-Aug-02 4:06
Lily188-Aug-02 4:06 
GeneralRe: type mismatch Pin
Anonymous15-Aug-02 17:02
Anonymous15-Aug-02 17:02 
GeneralIContextMenu copy in app to Explorer Pin
Null_Vector7-Aug-02 14:26
Null_Vector7-Aug-02 14:26 
GeneralRe: IContextMenu copy in app to Explorer Pin
Null_Vector9-Aug-02 0:24
Null_Vector9-Aug-02 0:24 
Generalneed help for CoInitializeEx(..) Pin
Jawid7-Aug-02 5:23
Jawid7-Aug-02 5:23 
GeneralRe: need help for CoInitializeEx(..) Pin
Mark Janveaux7-Aug-02 13:03
Mark Janveaux7-Aug-02 13:03 
GeneralPassing an interface through an ATL interface Pin
HawkSoftware6-Aug-02 10:36
HawkSoftware6-Aug-02 10:36 
Hey Gang,

I am on the verge of panic today because I need to quickly develop a solution for a distributed analysis program. Thanks for taking the time to respond if you get a chance.

I have an exe that uses an XML DOM to represent the status of a system. The DOM is wrapped in an ATL interface that provides some convenience routines for manipulating the data in the DOM. For discussion I am going to refer to the ATL interface as the CurrentStateInterface.

I would like to share access across computers to an instance of the CurrentStateInterface. Ideally remote systems would be able to connect to the server application through an ATL interface and request the CurrentStateInterface. Once the interface is marshalled to the remote system, the remote system could make calls to the CurrentStateInterface which would manipulate the data in the DOM on the server.

I have read a few articles from the MSDN. One article suggested several possible solutions: Singleton objects, File monikers, CoMarshlInterface/CoUnMarshalInteface, Custom class objects, Custom monikers. I know some of these would work better than others. From what I have read, the file monikers look like an appropriate solution but I would look to someone with more experience for guidance.

I am hoping that someone has done something similar and can share his/her knowledge and experience. Any good suggested reading would be appreciated also.

Thanks very much for your time!

Hawk


GeneralRe: Passing an interface through an ATL interface Pin
Mark Janveaux6-Aug-02 13:01
Mark Janveaux6-Aug-02 13:01 
GeneralRe: Passing an interface through an ATL interface Pin
HawkSoftware6-Aug-02 15:46
HawkSoftware6-Aug-02 15:46 
GeneralRe: Passing an interface through an ATL interface Pin
Mark Janveaux6-Aug-02 17:45
Mark Janveaux6-Aug-02 17:45 
GeneralAdding MFC to existing COM Server DLL Pin
b_p_smith6-Aug-02 4:23
b_p_smith6-Aug-02 4:23 
GeneralRe: Adding MFC to existing COM Server DLL Pin
Anonymous7-Aug-02 23:59
Anonymous7-Aug-02 23:59 
GeneralRe: Adding MFC to existing COM Server DLL Pin
b_p_smith8-Aug-02 3:30
b_p_smith8-Aug-02 3:30 
GeneralRe: Adding MFC to existing COM Server DLL Pin
Vi29-Aug-02 1:36
Vi29-Aug-02 1:36 
GeneralReturning a dispinterface from VC to VB Pin
Jon Taylor5-Aug-02 11:06
Jon Taylor5-Aug-02 11:06 
GeneralRe: Returning a dispinterface from VC to VB Pin
Vi26-Aug-02 2:14
Vi26-Aug-02 2:14 
Generalhelp needed...!!! Pin
drmzunlimited5-Aug-02 7:43
drmzunlimited5-Aug-02 7:43 
QuestionConnect to external InProc Server ? Pin
Mark Janveaux4-Aug-02 20:45
Mark Janveaux4-Aug-02 20:45 
AnswerRe: Connect to external InProc Server ? Pin
Jawid7-Aug-02 5:32
Jawid7-Aug-02 5:32 
AnswerRe: Another way - ROT Pin
Vi27-Aug-02 6:04
Vi27-Aug-02 6:04 
GeneralReceive events in vb from an interface returned by a method Pin
farrukh khalil4-Aug-02 19:19
sussfarrukh khalil4-Aug-02 19:19 
GeneralRe: Receive events in vb from an interface returned by a method Pin
Vi24-Aug-02 20:16
Vi24-Aug-02 20:16 
GeneralComAddin and addin Pin
Gheyret4-Aug-02 18:53
Gheyret4-Aug-02 18:53 
QuestionATL Problems?? Pin
Leesen3-Aug-02 22:56
Leesen3-Aug-02 22:56 

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.