wxWidgets and PostgreSQL
Vadim Zeitlin
vadim at wxwidgets.org
Mon Nov 5 05:24:24 PST 2007
On Mon, 5 Nov 2007 10:25:54 +0800 (CST) ÈýÎÞÈËÔ± <zjzfb at 163.com> wrote:
È> I build unicode/DLL version of wxWidgets, but when I use wxString str_u( pStr, wxConvUTF8 ), I failed.
È> But when I use std::string str( pStr ), wxString str_u( str.c_str(), wxConvUTF8 ),
È> it works correctly.
Sorry, this is impossible. You call the same ctor with the same arguments
so it must work in the same way. Or your "pStr" pointer is invalid in the
first case.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://ww
More information about the wx-users
mailing list