Add automation support to MFC DLL

2019-08-02 19:44发布

问题:

Is there a way to add automation to an existing MFC dll?

I know I can create a new project and select Automation during the wizard, but I already have a dll with ATL support which exposes a number of COM objects so I'd rather update that than have to recreated it.

回答1:

Article Adding automation to MFC applications should help you.