I've got a dll subproject and want to move a dialog call to it. When I do the compiler generates an error that it can't find the CWnd definition. So I include stdafx.h, that generates the following error:
fatal error C1189: #error : Please use the /MD switch for _AFXDLL builds
What setting do I need to change in the subproject?