I have found a solution for this, but it only works if you use .DEF files (I don't).
I wonder if this can be done without .DEF files.
I have found a solution for this, but it only works if you use .DEF files (I don't).
I wonder if this can be done without .DEF files.
Since you are using Visual Studio, you can set the output file path through the project's property pages:
Properties --> Linker --> General --> Output File
Project > Properties
. Then Configuration Properties > Linker > General > Output file
. Here you should have something like: $(OutDir)\$(ProjectName).dll
just put $(OutDir)\$(ProjectName)d.dll