COM Addins (A request for guidence and ideas)
-
Okay, this is a bit of a stab in the dark kind of question so my apologies if it isn't clearly worded. I have an MFC application that calls a COM object (ATL). The MFC app calls a method m_pOutlook->IDCaller(sPhoneNumber, &sCallerName). The COM object looks up in the Outlook database for the phone number and returns the name. Now I need to have a choice between using Outlook and using Goldmine. This has brought up the idea that the software can talk to multiple contact managers, not just the two mentioned. So I'd like to write the system so that I can just plug new COM objects in like Word and Visual Studios Addins whenever somebody wants another contact manager. Anybody know where I can find some good info on developing applications to support COM addins. Any books or articles out there to do this kind of thing? It is possible that a third party might want to write addins too. My idea is to have a list of CLSID, and query them for the required interface. I'm just not sure about the best way to do this. Michael :-)
-
Okay, this is a bit of a stab in the dark kind of question so my apologies if it isn't clearly worded. I have an MFC application that calls a COM object (ATL). The MFC app calls a method m_pOutlook->IDCaller(sPhoneNumber, &sCallerName). The COM object looks up in the Outlook database for the phone number and returns the name. Now I need to have a choice between using Outlook and using Goldmine. This has brought up the idea that the software can talk to multiple contact managers, not just the two mentioned. So I'd like to write the system so that I can just plug new COM objects in like Word and Visual Studios Addins whenever somebody wants another contact manager. Anybody know where I can find some good info on developing applications to support COM addins. Any books or articles out there to do this kind of thing? It is possible that a third party might want to write addins too. My idea is to have a list of CLSID, and query them for the required interface. I'm just not sure about the best way to do this. Michael :-)
I found a few links that might be useful, http://www.codeproject.com/debug/testrunner.asp http://www.devx.com/free/mgznarch/vcdj/1997/aug97/extapp1.asp Michael :-)
-
Okay, this is a bit of a stab in the dark kind of question so my apologies if it isn't clearly worded. I have an MFC application that calls a COM object (ATL). The MFC app calls a method m_pOutlook->IDCaller(sPhoneNumber, &sCallerName). The COM object looks up in the Outlook database for the phone number and returns the name. Now I need to have a choice between using Outlook and using Goldmine. This has brought up the idea that the software can talk to multiple contact managers, not just the two mentioned. So I'd like to write the system so that I can just plug new COM objects in like Word and Visual Studios Addins whenever somebody wants another contact manager. Anybody know where I can find some good info on developing applications to support COM addins. Any books or articles out there to do this kind of thing? It is possible that a third party might want to write addins too. My idea is to have a list of CLSID, and query them for the required interface. I'm just not sure about the best way to do this. Michael :-)
Have you checked out this old msj article at http://www.microsoft.com/msj/0797/snapins.htm?