E:\Study\wxWidgets-2.9.2\include\wx/msw/winundef.h(39) : error C2664:
'CreateDialogParamW' : cannot convert parameter 2 from 'LPCTSTR' to
'LPCWSTR'
1> Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
The same error could be found in CreateFontW, CreateWindowExW,
LoadMenuW, FindTextW, LoadBitmapW. All of these functions are in
"wxWidgets-2.9.2\include\wx/msw/winundef.h".
My project is a very simple one and errors also remain in every
project that built under wxWidgets-2.9.2 x64 release. Would you please
help me with this? Thank you very much!
xlSong
2011-08-05
--------
Xiaolu Song
Center for Earth Observation and Digital Earth Chinese Academy of Sciences
No.9 Dengzhuang South Road, Haidian District, Beijing 100094, China
Tel: +86-010-82178188 +86-18610335605
Email:talen...@126.com
中国科学院对地观测与数字地球科学中心
北京市海淀区邓庄南路9号
TS> E:\Study\wxWidgets-2.9.2\include\wx/msw/winundef.h(39) : error C2664:
TS> 'CreateDialogParamW' : cannot convert parameter 2 from 'LPCTSTR' to
TS> 'LPCWSTR'
TS> 1> Types pointed to are unrelated; conversion requires
TS> reinterpret_cast, C-style cast or function-style cast
You seem to be building your project without _UNICODE being defined. You
need to change this in order to use the Unicode build of wx.
Regards,
VZ