Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Release/Debug, a DLL and the EXE !!

0 views
Skip to first unread message

Simon Rose

unread,
Jul 20, 1998, 3:00:00 AM7/20/98
to
Hi,

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

William Armstrong

unread,
Jul 20, 1998, 3:00:00 AM7/20/98
to
You'll need to build two versions of the DLL with slightly different names.

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.

0 new messages