locked
Statically linking and it's still asking for mfc100.dll... RRS feed

  • Question

  • Hello,

    I have created a C++ MFC project in Visual Studio 2010.  I selected the option to "Use MFC in a static library" and when I send the executable for testing they are telling me it is asking for mfc100.dll.  What could be the cause of this.  Do any libraries I use built in VS2010 also need to be built this way?

    Thank You,

    John 

    Thursday, February 17, 2011 5:19 PM

All replies

  • Hello Again,

    I've got this one figured out.  It was a supporting .lib file that was built MD (Dynamic).  When I rebuilt that MT (Static) and then rebuilt my EXE, it ran on the other computers just fine.

    Thanks,

    John

    Thursday, February 17, 2011 7:33 PM
  • try Configuration: Release
    Visual C++ enthusiast, like network programming and driver development. At present is being engaged in the WinCE/Windows Mobile platform embedded development.
    Friday, February 18, 2011 5:03 AM