I am using Visual Studio 2008 trying to create a .dll. The dll uses an external library (.lib). Compiling and linking works fine (I included the paths to header/lib in the options). When my .dll is used by a program (as a plugin) it says "externalLibrary.dll missing" but there is no externalLibrary.dll, just a externalLibrary.lib.
Are there different options of linking (so the externalLibrary is already in my .dll)? Or can i simply create a .dll from the .lib? Or any other solutions to this problem?
Edit (to be more concrete): In project properties i added
- the header path @ C/C++ - General - Additional Include Directories
- the library path @ Linker - General - Additional Library Directories
- the library name @ Linker - Input - Additional Dependencies (although this doesn't change anything)