Hello all,
I'm just getting familiar with VC++ Express and trying to compile and debug a dll project. It is hosted by an existing app that loads dlls from its own fixed internal directory. Therefore I think I need to output the dll into this directory. A search for "output directory" yields the instructions:
Visual C++ Projects
To change the build output directory:
-
On the Project menu, click Properties.
-
Expand the Configuration Properties tab, and click General.
3. Change the Output Directory box to the new output directory.
So I've browsed to the new directory, checked with the edit item that the new directory is properly set, and rebuilt the project. Still the dll appears in C:\Documents and Settings\Doug\Desktop\GV\Debug, not in the new output directory.
Any help is appreciated. Or even a workaround to still be able to debug the dll. Thanks very much.

Can't change output directory for dll
Michael Ruck
Thanks - $(OutDir)\MyDLL.dll gets the dll into the proper output directory.
Now I have to see whether the debugger works in this configuration!
MS - please correct your docs.
KCSmith
Check the linker options, under General.
What is the contents of Output File
Set something like $(OutDir)/MyDLL.dll to it. Maybe the pathes are hardcode here and no macro is used.
You have to change the setting in release and debug configuration!