[問題] winnt.h 錯誤

看板C_and_CPP (C/C++)作者 (領域中人)時間16年前 (2009/03/26 15:21), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
我編譯一個program 其有一個錯誤訊息如下 1>stdafx.cpp 1>.\stdafx.cpp : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss 1>c:\documents and settings\administrator\桌面\新資料夾 (8)\網路 \dma-2440xp_4.3lcd\wince5.0\lab source (vs2005)\adc\adc\stdafx.h : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss 1>C:\Program Files\Microsoft Platform SDK\Include\winnt.h(666) : fatal error C1189: #error : Must define a target architecture. 1>Build log was saved at "file://c:\Documents and Settings\Administrator\桌面\ 新資料夾 (8)\網路\DMA-2440XP_4.3LCD\WinCE5.0\Lab Source (VS2005)\Adc\Adc\WinCE5 (ARMV4I)\Debug\BuildLog.htm" 1>Adc - 1 error(s), 2 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== 說我的winnt.h有出錯 請問我該怎麼解決? 我使用visual studio 2005 有灌PSDK和wince5 SDK 開啟的專案是智慧型裝置中的 MFC smart device 使用wince5的compiler來做 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.170.76.229
文章代碼(AID): #19ooq6S4 (C_and_CPP)
文章代碼(AID): #19ooq6S4 (C_and_CPP)