I'm compiling a set of files a .DLL file with MSVC++. It always outputs to the file with the name 'foo.dll.' How can I make MSVC++ out the file with a name of my choosing?
I'm compiling a set of files a .DLL file with MSVC++. It always outputs to the file with the name 'foo.dll.' How can I make MSVC++ out the file with a name of my choosing?
The dll name is set to the project name by default. You can change it within msvc by changing the 'Output File' name in the linker options of the project properties/settings. You can get to the project properties/settings from the 'Project' menu. The various labels I have described may vary between different versions of msvc but the approach is generally the same.
See msdn linker options: /OUT.
CProgramming FAQ
Caution: this person may be a carrier of the misinformation virus.