DLL basics
- MSI Custom Action DLL
- Regular DLL Tutor For Beginners
- Making DLLs easy to build and use
- Basic C++ Win32 DLL
- How to link DLLs to C++ Projects
- Deploying Visual C++ Runtime Files as Private Assemblies
- Super Easy DLL
- Create projects easily with private MFC, ATL and CRT assemblies
- Change WINVER
- Including stdafx.h in a non-default location
- Visual Studio Project Converter
- A-Utility-to-Convert-VS-NET-2003-Project-Files
some comments are really good:
I'm fairly new to C++ and have been trying to follow this example after struggling on my own. But the problem I've got is I can't seem to get Visual Studio to create a .lib file, have you got any suggestions? Because without the .lib I can't link it into my projects... :S
You will have do the following. 1. Right click on your project on solution explorer and click "Properties". 2. Expand the "Linker" item in the tree. 3. Click on "Input" 4. Type in the name of your def file in the case of this example it would be "EasyDll.def" in the text box beside "Module Definition File". 5. Selection "Release" from the configuration dropdown box at the top left and enter in "EasyDll.def" to make sure that you also are given a .lib file when you compile for release mode too. Cheers,
No comments:
Post a Comment