Question to Gurus
-
Hi, I am developing an application with several components in it. The main application will have a GUI and there are several components like BHO, MS Office Addins, Clipboard trackers etc. I have a problem here. These components should communicate with the main application by some means. It has to pass some events or some values to the main application. I will be creating both the components and the main application and I would like to know, the best method to connect the components to the main application. I have pretty good exposure to COM and Windows programming. Also Is it possible to create a Singleton Automation server ? Thanks and 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."
-
Hi, I am developing an application with several components in it. The main application will have a GUI and there are several components like BHO, MS Office Addins, Clipboard trackers etc. I have a problem here. These components should communicate with the main application by some means. It has to pass some events or some values to the main application. I will be creating both the components and the main application and I would like to know, the best method to connect the components to the main application. I have pretty good exposure to COM and Windows programming. Also Is it possible to create a Singleton Automation server ? Thanks and 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."
>>I am developing an application with several components in it. The main >>application will have a GUI and there are several components like BHO, MS >>Office Addins, Clipboard trackers etc. I have a problem here. What kind of appliction is this, I mean do you have some activex control inside this application which in turn has IE instance, Office instance and so... >>These components should communicate with the main application by some >>means. You can get the HWND of your applications main window... there are several ways to get HWND, like get HWND using "caption" or "class name" for window with the help of FindWindow API... Once you get the HWND you can very well use "SendMessage" or "PostMessage" for further communication... All these things would go inside your BHO, Office addin or so... >>Also Is it possible to create a Singleton Automation server ? sorry no idea about the Singleton automation server... Hope this would help you! Cheers, Vishal -- modified at 8:28 Tuesday 11th October, 2005