When a project is large, appropriate path settings can organize the dynamic link libraries and projects of different modules.
The settings in VC are as follows:
Include include path settings: Project-> setting-> C/C ++-> Preprocessor: Additional include directories:..././INC
DLL output path settings: Project-> setting-> link-> General: output file name:.../../bin/modcould. dll
PDB output path settings: Project-> setting-> link-> customize: Program database name:.../../bin/modcould. PDB
Lib output path setting: it should be in project-> setting-> link-> output, but cannot be found, so you can change project option:/implib :".. /.. /lib/modwould. lib "to implement
Generally, put the header files of all dynamic link libraries under the INC directory, and put the CPP file under the src directory to generate files and PDB files (convenient access to dynamic link library debugging) put it in the bin directory. This allows different projects to call the same dynamic link library and update the dynamic link library in real time.
PS:
Definition of dllimport static data member not allowed
It may be that the file is already contained, and the variable with the same name has been defined in the Linked Library.