Thursday, October 10, 2013

How to Add a DLL in Visual C


1. Open your Visual C project in the Visual Studio application. This loads all associated files in your editor. On the right side of the screen, Solutions Explorer lists your Visual C files.
2. Right-click your project name in Solution Explorer and select 'Add Reference.' This opens a new window where you can select your DLL file.
3. Click the 'Browse' tab. Click 'Browse' to open a dialog window. Select your DLL file. This can be a file from another program, or you can use an internal Windows system file. Click 'OK' when you have selected your DLL file.
4. Click 'OK' in the main references window. The DLL file is shown in the 'References' folder in Solution Explorer. This is how you confirm that the file is included in your project.