Patrick,
yup, that is possible if you make it a COM server. One possible way is to create a new project based on MFC App Wizard DLL. Make sure "Automation" is ticked in the following Dialog. Click finish. Right-click your <project>.cpp, select class wizard. On the Automation tab add a class...