I need to create a DLL without MFC or precompiled headers. It's a wrapper for another library, and I don't want the "stdafx.h" requirement or MFC's complaint about #including windows.h
The only DLL project type in VS 2005 is MFC. After creating the project I can change the project properties but the compiler balks at using standard Windows libraries and not using precompiled headers.
Required project type is: Visual C++ - Win32 - Win32 Project. On the second Wizard step select Dll.
You can turn off precompiled headers later in the Project Properties dialog, though I don't see any problem in using them.
Bookmarks