Friday, December 11, 2020

Error C1189 #error: Please use the /MD switch for _AFXDLL builds

when I compile demo for memDC class from codeproject.com. then I ran these errors:

Error C1189 #error: Please use the /MD switch for _AFXDLL builds

  1. #error Please use the /MD switch for _AFXDLL builds
  2. Solution Settings for CRT linking and MFC linking must be coherent. So, actually, there are two possible answers at this question:

    1. Use /MT (Properties -> C/C++ -> Code Generation) and static MFC (Properties -> General -> Use of MFC)
    2. Use /MD (Properties -> C/C++ -> Code Generation) and shared MFC (Properties -> General -> Use of MFC)

  3. Flicker Free Drawing In MFC
  4. Clipboard Copy in a Nutshell
  5. Debugging Release Mode Problems
  6. Debugging Release Mode Problems
  7. Custom AntiAliasing with GDI+
  8. Simple and Easy Undo/Redo
  9. Formula Editor
  10. More Message on this error

  11. error Please use the /MD switch for _AFXDLL builds
  12. error Please use the /MD switch for _AFXDLL builds
  13. Please use the /MD switch for _AFXDLL ? Pin

No comments:

Post a Comment