IceUtil::wstringToString link error?

Hi, I write the fallowing code in a dialog based application:

wstring wstr = ...;
string str = IceUtil::wstringToString(wstr);
...

But a link error occured and the compiler complains that the simbol can not be found.

When I move the same code to an console application, it passed easily.I don't know what's the reason?

Comments

Sign In or Register to comment.