RES: Unresolved symbol in WxMSW - VC2005 Static Runtime
Vadim Zeitlin
vadim at wxwidgets.org
Wed Mar 5 04:44:37 PST 2008
On Wed, 5 Mar 2008 04:35:26 -0800 (PST) oleg_dolomanov at hotmail.com wrote:
> I had exactly the same problem, no matter which options I had used.
> The only "solution" I found is to get the string.obj file (compiled
> with _DLL undefined (/MT or /MTd)) and link against it directly (i.e.
> add it to the list of libraries). You will also have to add
> LIBCMTD.lib to the exclusion list to resolve conflicts with duplicated
> names.
I'd be surprised if you didn't get runtime crashes now. Link problems
might not be nice but they're nothing compared to what you expose yourself
to if you use code compiled with mismatching CRT settings inside the same
module.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list