2012/12/11

error C2664: 'CFrameWnd::Create'

可以透過TCHAR去解決到不是Unicode的字串

TCHAR *t = new TCHAR[20];
    _tcscpy(t,_TEXT("test"));


終於找到所謂多字符,在該專案點右鍵選擇屬性,選到一般修改字元集:使用多位元組字元集




參考文章:
http://www.myexception.cn/vc-mfc/366802.html
http://hi.baidu.com/lzme520/item/60b199a4df2c68208919d3d0
http://ntsoft.blog.163.com/blog/static/1163539200912182749621/
http://blog.csdn.net/doubaijun/article/details/3227224
http://blog.csdn.net/yanonsoftware/article/details/544428