I am beginning a new C++ project involving an EXE that communicates with DLLs running in other processes using COM. I am not familiar with the details of COM and therefore require someone to setup a project with the DLLs and EXE with empty methods for my interfaces so all I have to do is implement the business logic.
There is one main EXE that runs showing a scrolling text box of status messages. A status message is generated when a DLL connects with the EXE, when the EXE calls a method on? a DLL? and also when a DLL disconnects from the EXE.
There are? two DLLs implementing a common interface (in future there will be more). They? are loaded by third party EXEs (provide a simple EXE that does this). When? a DLL loads into the third party EXE it communicates with the main EXE, sending? it a pointer to its COM interface so the main EXE can make calls to the DLL. The EXE makes one call to the DLL to show that it is working, displaying the result. When the DLL is unloaded (ie. the other EXE shuts down)? it informs the main EXE so things get cleaned up nicely.
I have attached my first attempt at an IDL file describing the interfaces used by the project.