>>411 [続き]
* Set C/C++ DLL file locations
- To debug an external DLL, a calling project must be able to find the DLL, its .pdb file, and any other files the DLL requires. You can create a custom build task to copy these files to your <project folder>\Debug output folder, or you can copy the files there manually.
- For C/C++ projects, you can set header and LIB file locations in the project property pages, instead of copying them to the output folder.
* To set C/C++ header and LIB file locations:
Select the C/C++ DLL project in Solution Explorer and select the Properties icon, or right-click the project and select Properties.
At the top of the Properties pane, under Configuration, select All Configurations.
Under C/C++ > General > Additional Include Directories, specify the folder that has header files.
Under Linker > General > Additional Libraries Directories, specify the folder that has LIB files.
Under Linker > Input > Additional Dependencies, specify the full path and filename for the LIB files.
Select OK.
For more information on C++ project settings, see Windows C++ property page reference.