-
March 14th, 2011, 10:59 AM
#1
create a non-MFC DLL
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.
What to do?
Thanks
-
March 14th, 2011, 11:02 AM
#2
Re: create a non-MFC DLL
Create a Win32 Project (not MFC) and choose DLL on the next step. Leave the "Add common header files for MFC" tick unchecked. To assemble everything:
Vs2005->New->Project
Win32->Win32 Project
On the Wizard, Application Settings, choose DLL radio box, hit finish.
-
March 14th, 2011, 11:03 AM
#3
Re: create a non-MFC DLL
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.
-
March 14th, 2011, 12:47 PM
#4
RESOLVED: create a non-MFC DLL
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|