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

Should be simple UNICODE question

0 views
Skip to first unread message

Steven

unread,
Jun 23, 2008, 11:51:10 AM6/23/08
to
I have a lib I wrote that compiles as either
dllnameW.lib or dllnameA.lib appropriately,
then within the code I have:

#ifdef _UNICODE
//dostuff W
#else
//dostuff A
#endif

dllnameW.lib has a preprocessor def
of _UNICODE, the app I'm trying to
import with has a preprocessor def of
_UNICODE, so why when I step
into the code, does it step through
the A version??

As a matter of fact, when I select the unicode
build in the lib project, the W version is
still grayed out and the A version is "enabled".

What gives? what aren't my preprocessors
working?

W PPD: WIN32;_DEBUG;_LIB;_UNICODE;UNICODE

using VS2008.

Thanks..

Steven


Steven

unread,
Jun 23, 2008, 1:30:01 PM6/23/08
to
Okay... not sure what happened there.. I forced a rebuild all of
the library that I've had around for a long time, and everything
worked fine.


"Steven" <sedison@protronix_nospam_.com> wrote in message
news:O%23qMdjU1...@TK2MSFTNGP03.phx.gbl...

0 new messages