Click here to Skip to main content
15,922,533 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Question Pin
Ghasrfakhri5-Oct-05 1:52
Ghasrfakhri5-Oct-05 1:52 
GeneralRe: Question Pin
micutzu5-Oct-05 2:13
micutzu5-Oct-05 2:13 
QuestionKeboard character to localized string Pin
Abyss4-Oct-05 21:02
Abyss4-Oct-05 21:02 
AnswerRe: Keboard character to localized string Pin
Ghasrfakhri5-Oct-05 1:56
Ghasrfakhri5-Oct-05 1:56 
GeneralRe: Keboard character to localized string Pin
Abyss5-Oct-05 2:17
Abyss5-Oct-05 2:17 
QuestionQuestion to the Gurus Pin
Jagadeesh VN4-Oct-05 20:21
Jagadeesh VN4-Oct-05 20:21 
AnswerRe: Question to the Gurus Pin
Roger Stoltz4-Oct-05 22:14
Roger Stoltz4-Oct-05 22:14 
GeneralRe: Question to the Gurus Pin
Jagadeesh VN5-Oct-05 0:31
Jagadeesh VN5-Oct-05 0:31 
Hi Roger,

Thanks for the reply.


"Define "communicate" and the needs of the "communication process".
Are we talking about COM components? Will access methods do (get/set)?"

I have a BHO and some MS office addins, which will be continously monitoring some of the events like BeforeNavigate (BHO), OnOpenNewDocument(Addin), ONCloseDocument(Addin), etc.

I have a GUI application, where all these events should be reported consistently. I was thinking of implementing the GUI application as a Singleton Automation Server using DECLARE_CLASSFACTORY_SINGLETON macro. Then the monitoring components will create an instance of this automation server and since it is implemented using singleton pattern, the monitors will be able to connect and bind to the same instance of the GUI. Then they can use EventSinks or some other interface methods to communicate with the GUI.

Also Since I am using DECLARE_CLASSFACTORY_SINGLETON, I belive the Service Control Manager will check the Running Object Table and will return the currently active instance to all the clients. Can you please confirm this.

Once again Thanks for posting a reply.

Regards
Jugs




"A robust program is resistant to errors -- it either works correctly, or it does not work at all; whereas a fault tolerant program must actually recover from errors."
GeneralRe: Question to the Gurus Pin
Roger Stoltz5-Oct-05 2:58
Roger Stoltz5-Oct-05 2:58 
Questionerror trying to open my database 'Unrecongized database format' Pin
parims4-Oct-05 20:18
parims4-Oct-05 20:18 
AnswerRe: error trying to open my database 'Unrecongized database format' Pin
S Douglas4-Oct-05 23:24
professionalS Douglas4-Oct-05 23:24 
AnswerRe: error trying to open my database 'Unrecongized database format' Pin
Manfred Staiger4-Oct-05 23:28
Manfred Staiger4-Oct-05 23:28 
GeneralRe: error trying to open my database 'Unrecongized database format' Pin
S Douglas4-Oct-05 23:44
professionalS Douglas4-Oct-05 23:44 
QuestionCTreeCtrl::HitTest returns NULL Pin
*Dreamz4-Oct-05 19:28
*Dreamz4-Oct-05 19:28 
Questionbreakpoint format Pin
Fumber kee4-Oct-05 18:32
sussFumber kee4-Oct-05 18:32 
QuestionHow to share a structure between a thread and the main program. Pin
4-Oct-05 18:28
suss4-Oct-05 18:28 
AnswerRe: How to share a structure between a thread and the main program. Pin
Cedric Moonen4-Oct-05 20:22
Cedric Moonen4-Oct-05 20:22 
GeneralRe: How to share a structure between a thread and the main program. Pin
Axter4-Oct-05 20:32
professionalAxter4-Oct-05 20:32 
GeneralRe: How to share a structure between a thread and the main program. Pin
Anonymous9-Oct-05 17:37
Anonymous9-Oct-05 17:37 
GeneralRe: How to share a structure between a thread and the main program. Pin
stkl6-Oct-05 20:06
stkl6-Oct-05 20:06 
QuestionHow to get the "all programs " menu handle? Pin
xavierkdna4-Oct-05 18:04
xavierkdna4-Oct-05 18:04 
QuestionProcess Name From Process handle Pin
ragavan4-Oct-05 18:00
ragavan4-Oct-05 18:00 
QuestionPosting string to window Pin
sthalasayanam4-Oct-05 17:39
sthalasayanam4-Oct-05 17:39 
AnswerRe: Posting string to window Pin
ThatsAlok4-Oct-05 18:33
ThatsAlok4-Oct-05 18:33 
GeneralRe: Posting string to window Pin
sthalasayanam5-Oct-05 16:50
sthalasayanam5-Oct-05 16:50 

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.