I have created a DLL which exports a class which is reusable (heh). My app
links to it and uses it ok, but my problem is this:
If the App is built in debug mode, it needs the debug version of the DLL,
If the App is built in release mode, it needs the release version of the
DLL.
Is there a way to make my DLL work either way, or is just the way things
work ?
Hope someone can help me, and thanks to you if you can,
Simon
release: newdll.dll
debug: newdll-d.dll
This can be set up in the project settings dialog. Under the link tab, you
specify the output filename which can be different for different build
types.
When you come to use the DLL in a project, you again adjust the project
settings. Once more on the link tab, this time you put the appropriate
newdll.lib file in the Object/Library modules text box.