Applies ToWindows Embedded Compact 2013

本文說明當您建立 Windows 內嵌壓縮 2013 Visual C++ 的 Win32 主控台應用程式時,就會發生的問題。有可以解決這個問題的更新。在您安裝此更新程式之前,必須安裝此產品的所有先前發行之更新程式。

狀況

當您建立 Visual C++ 的 Win32 主控台應用程式利用 Microsoft Visual Studio 2013年中的應用程式產生器時,新建立的專案中未定義 UNICODE。範例程式碼如下所示︰

int wmain(int argc, wchar_t *argv[]){    printf("Welcome to Windows Embedded Project System \n");#ifdef UNICODE    printf("UNICODE is defined. \n");#else    printf("UNICODE is NOT defined. \n");#endif    printf("Please inster a char to end this app.");    int c = getchar();       return 0;}

解決方案

下載資訊

現在使用 microsoft Windows 內嵌壓縮 2013年每月更新 (年 3 月 2015)。要下載此 Windows 內嵌壓縮 2013年每月更新,請移至線上 Microsoft OEMMyOEM

更多的資訊

重新啟動需求

套用此更新之後,您必須執行整個平台的清除組建。若要這樣做,請使用下列其中一種方法:

  • 在 [建置] 功能表中,按一下 [清除方案,,然後按一下 [建置方案

  • 在 [建置] 功能表上按一下 [重建方案]。

您不必套用此軟體更新之後,請重新啟動電腦。

更新取代資訊

此更新不會取代任何其他更新。

檔案屬性 (或較新的檔案屬性),本軟體更新套件的英文版具有下列表格中所列。這些檔案的日期和時間會以國際標準時間 (UTC) 格式列出。當您檢視檔案資訊時,會將它轉換為本地時間。若要查看 UTC 與當地時間的時差,請在 [控制台] 中的日期和時間項目使用 [時區] 索引標籤。

此 hotfix 套件所隨附的檔案

檔案名稱

檔案大小

日期

時間

路徑

Stdafx.h

716

02-Feb-2015

10:05

內嵌的 Public\Common\Sdk\Vstemplates\Vc\Windows compact\Sdk_name\1033\Atldll

Stdafx.h

887

02-Feb-2015

10:05

內嵌的 Public\Common\Sdk\Vstemplates\Vc\Windows compact\Sdk_name\1033\Application

Stdafx.h

716

02-Feb-2015

10:05

內嵌的 Public\Common\Sdk\Vstemplates\Vc\Windows compact\Sdk_name\1033\Atlapplication

Stdafx.h

841

02-Feb-2015

10:05

內嵌的 Public\Common\Sdk\Vstemplates\Vc\Windows compact\Sdk_name\1033\Dll

Stdafx.h

484

02-Feb-2015

10:05

內嵌的 Public\Common\Sdk\Vstemplates\Vc\Windows compact\Sdk_name\1033\Consoleapplication

Stdafx.h

1,070

02-Feb-2015

10:05

內嵌的 Public\Common\Sdk\Vstemplates\Vc\Windows compact\Sdk_name\1033\Mfcdll

Stdafx.h

1,596

02-Feb-2015

10:05

內嵌的 Public\Common\Sdk\Vstemplates\Vc\Windows compact\Sdk_name\1033\Mfcactivexcontrol

Stdafx.h

1,331

02-Feb-2015

10:05

內嵌的 Public\Common\Sdk\Vstemplates\Vc\Windows compact\Sdk_name\1033\Mfcapplication

Stdafx.h

789

02-Feb-2015

10:05

內嵌的 Public\Common\Sdk\Vstemplates\Vc\Windows compact\Sdk_name\1033\Staticlibrary

狀態

Microsoft 已確認這是<套用>一節所列出的 Microsoft 產品的問題。

參考

如需有關軟體更新術語的詳細資訊,請參閱用來描述 Microsoft 軟體更新標準術語的描述

需要更多協助嗎?

想要其他選項嗎?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。