I have a DLL I'm trying to incorporate into my project, without luck. The application used to make the DLL was MFC, I believe. From Solution Explorer, I select to Add a Reference, switch to the COM page, and browse to select the DLL. But when I press OK I get a failure messagebox, that it's not a valid assmebly of COM component. I thought all DLLs were COM components.
I have the C++ header file by the same name as the DLL.