Adding an ActiveX DLL to your Visual C++ project instructions:
Open the "Classwizard" (menu View/Classwizard)
Use the "Add Class" button and select "From a Type Library".
Select the DLL and click OK.
Visual C++ will then create class (.cpp) and header (.h) file wrappers for your ActiveX DLL.
If you get a link error like error LNK2005: _free already defined in LIBCMT.lib it is probably related to your library type.
Make sure you are using the same library types, eg all Release, or all Debug builds.
Make sure your run-time library threading compartments are of the same type for libraries you are linking.