2016年10月22日 星期六

MFC的UnidToString()

使用UnidToString()

遇到以下問題時
cannot convert parameter 2 from 'unsigned char **'to 'RPC_WSTR*' Types  pointed to are unrelated; conversion requires reinterpret_cast, Cstyle cast or function-style cast


將 Project Properties Character Set 從Use Unicode  Character Set 改為 Use Multi-Byte Character Set 可解決此問題

沒有留言:

張貼留言