Currently I have the following:
APP_A is a C# Win Form
APP_HW is a C++ Windows Application that exposes various COM classes
This works fine, and APP_A can use the COM classes from APP_HW.
Now I want to change APP_HW from a C++ application to a C# WinForm application (I'll call it APP_HW_CS) and expose COM classes from it that can be used by APP_A. However, I do not want to use Reflection to achieve this. Reflection will just load APP_HW_CS for APP_A to use, and I need to have APP_A link to a running APP_HW_CS for it's COM classes.
I have read a lot of information online. I have a COM object that is registered and exported from the APP_HW_CS (C# version). But the only way to use it appears to add the APP__HW_CS as a reference and then create the objects. But putting it as a reference seems to make it load a new version of APP_HW_CS and not use the running APP_HW_CS.
Is what I am trying to do even possible?
Thanks for any help and any references you can point me too.
Using VS2013 on Windows 7 Pro 64bit.
Compiliing as a 32bit app.