天天看點

Error: The INF file contains Unicode characters that could not be converted correctly to ANSI

轉自VC錯誤:http://www.vcerror.com/?p=1863

問題描述:

為windows mobile程式制作CAB安裝包,但是在生成過程中,卻出現了如下錯誤問題:

編譯完成 -- 0 個錯誤,0 個警告

time -> G:\WindowsMobile\time\time\bin\Debug\time.exe

------ 正在啟動項目“SmartDeviceCab1”的預生成驗證 ------

------ 已完成項目“SmartDeviceCab1”的預生成驗證 ------

------ 已啟動生成: 項目: SmartDeviceCab1, 配置: Debug ------

正在生成檔案“G:\WindowsMobile\time\SmartDeviceCab1\Debug\SmartDeviceCab1.cab”...

"C:\Program Files\Microsoft Visual Studio 8\smartdevices\sdk\sdktools\cabwiz.exe" "G:\WindowsMobile\time\SmartDeviceCab1\Debug\SmartDeviceCab1.inf" /dest "G:\WindowsMobile\time\SmartDeviceCab1\Debug\" /err CabWiz.log

Windows CE CAB Wizard

Warning: Section [RegKeys] has no data

Warning: Section [DefaultInstall] key "AddReg" - there are no section entries to process

Error: The INF file contains Unicode characters that could not be converted correctly to ANSI

錯誤: Windows CE CAB 向導遇到了錯誤。有關更多資訊,請參閱輸出視窗。

========== 生成: 1 成功或最新,1 失敗,0 被跳過 ==========

生成主檔案成功,但在生成CAB安裝檔案的時候,卻提示錯誤

解決方法:

具體的解決方法參考文章:http://www.vcerror.com/?p=1863

繼續閱讀