[問題] MFC fatal error C1189
請問一下,
我目前在學MFC, 在編譯的過程中出現問題,
其錯誤如下, 這好像是說系統最少要Vista才可以執行,
INVER not defined. Defaulting to 0x0600 (Windows Vista)
1>c:\program files\microsoft visual studio 9.0\vc\atlmfc\include\afxwin.h(26)
: fatal error C1189: #error : Your version of the Windows SDK is earlier
than 6.0. Try setting the 'WINVER' and '_WIN32_WINNT' definitions in your
project to less than 0x0600.
我的系統是XP SP3, 有辦法法修改嗎?
謝謝
我在afxwin.h中加入#define WINVER 0x0500就可以了>
------------------------------------------------
再請問大大一個問題,
在執行廠商給我的c#程式時,它出現錯誤訊息
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(1682,9):
error MSB3552: 找不到資源檔 "Properties\Resources.resx"。
應該怎麼處理呢
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.122.192.147
→
05/25 23:01, , 1F
05/25 23:01, 1F
→
05/25 23:02, , 2F
05/25 23:02, 2F
→
05/25 23:15, , 3F
05/25 23:15, 3F
※ 編輯: aada 來自: 140.122.178.126 (05/25 23:17)
※ 編輯: aada 來自: 140.122.178.126 (05/25 23:25)
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章
-4
5