[問題] winnt.h 錯誤
我編譯一個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
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章