Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: C++ Question regarding MFC  (Read 4372 times)

0 Members and 1 Guest are viewing this topic.

dbran

    Topic Starter


    Rookie
    • Experience: Experienced
    • OS: Windows 7
    C++ Question regarding MFC
    « on: September 25, 2012, 10:00:55 AM »
    I have a program that is written using Standard Windows Libraries (an old VC++ 6 project converted to VS2010).
    I have a third party dll written to use the MFC in a shared dll.

    I reference the dll and the headers in the project and try to build. When I do, I get errors in the dll's header files when implementing CObject in the constructor and the DECLARE_DYNAMIC macro is not resolved either (along with many other MFC objects).

    I thought I had read once where mixing projects of the two types was not possible but I don't believe that.  Any insight here?

    Thanks.

    DaveLembke



      Sage
    • Thanked: 662
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: C++ Question regarding MFC
    « Reply #1 on: September 25, 2012, 01:20:05 PM »
    Is the dll file present so that all dependencies are met? I brought a C++ program forward from 6 to 2008 and just needed to drop my dll in the root of where my exe executed to get it to run without error.