求救!!!! MFC 和CLR 的.h文件引用問題
求助!!
本人有一個。h文件(.dll自帶的),放在MFC,win32下都沒有問題。
放在CLR的FORM下面,就開始包語法錯誤!!!!! 如下!!
郁悶中。請問要如何改正了!!!
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(64) : error C2146: 語法錯誤 : 遺漏 ';' (在識別項 'FT_HANDLE' 之前)
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(64) : error C4430: 遺漏型別規範 - 假設為 int。注意: C++ 不支援 default-int
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(64) : error C4430: 遺漏型別規範 - 假設為 int。注意: C++ 不支援 default-int
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(65) : error C2146: 語法錯誤 : 遺漏 ';' (在識別項 'FT_STATUS' 之前)
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(65) : error C4430: 遺漏型別規範 - 假設為 int。注意: C++ 不支援 default-int
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(65) : error C4430: 遺漏型別規範 - 假設為 int。注意: C++ 不支援 default-int
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(180) : error C2065: 'DWORD' : 未宣告的識別項
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(180) : error C2065: 'DWORD' : 未宣告的識別項
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(180) : error C2513: 'void *' : 在 '=' 之前沒有宣告變數
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(217) : error C2146: 語法錯誤 : 遺漏 ';' (在識別項 'WINAPI' 之前)
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(217) : error C4430: 遺漏型別規範 - 假設為 int。注意: C++ 不支援 default-int
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(217) : error C2370: 'FT_STATUS' : 重複定義; 儲存類別不相同
1> C:\Documents and Settings\milor\桌面\ftd2xx.h(65) : 請參閱 'FT_STATUS' 的宣告
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(217) : warning C4394: 'FT_STATUS' : per-appdomain 符號不可用 __declspec(dllimport) 標記
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(217) : error C2146: 語法錯誤 : 遺漏 ';' (在識別項 'FT_Open' 之前)
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(217) : error C4430: 遺漏型別規範 - 假設為 int。注意: C++ 不支援 default-int
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(219) : error C2061: 語法錯誤 : 識別項 'FT_HANDLE'
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(220) : error C4430: 遺漏型別規範 - 假設為 int。注意: C++ 不支援 default-int
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(223) : error C2146: 語法錯誤 : 遺漏 ';' (在識別項 'WINAPI' 之前)
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(223) : error C4430: 遺漏型別規範 - 假設為 int。注意: C++ 不支援 default-int
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(223) : error C2370: 'FT_STATUS' : 重複定義; 儲存類別不相同
1> C:\Documents and Settings\milor\桌面\ftd2xx.h(65) : 請參閱 'FT_STATUS' 的宣告
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(223) : warning C4394: 'FT_STATUS' : per-appdomain 符號不可用 __declspec(dllimport) 標記
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(223) : error C2146: 語法錯誤 : 遺漏 ';' (在識別項 'FT_OpenEx' 之前)
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(223) : error C4430: 遺漏型別規範 - 假設為 int。注意: C++ 不支援 default-int
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(223) : error C2086: 'int WINAPI' : 重複定義
1> C:\Documents and Settings\milor\桌面\ftd2xx.h(217) : 請參閱 'WINAPI' 的宣告
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(225) : error C2061: 語法錯誤 : 識別項 'DWORD'
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(227) : error C4430: 遺漏型別規範 - 假設為 int。注意: C++ 不支援 default-int
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(230) : error C2146: 語法錯誤 : 遺漏 ';' (在識別項 'WINAPI' 之前)
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(230) : error C4430: 遺漏型別規範 - 假設為 int。注意: C++ 不支援 default-int
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(230) : error C2370: 'FT_STATUS' : 重複定義; 儲存類別不相同
1> C:\Documents and Settings\milor\桌面\ftd2xx.h(65) : 請參閱 'FT_STATUS' 的宣告
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(230) : warning C4394: 'FT_STATUS' : per-appdomain 符號不可用 __declspec(dllimport) 標記
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(230) : error C2146: 語法錯誤 : 遺漏 ';' (在識別項 'FT_ListDevices' 之前)
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(230) : error C4430: 遺漏型別規範 - 假設為 int。注意: C++ 不支援 default-int
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(230) : error C2086: 'int WINAPI' : 重複定義
1> C:\Documents and Settings\milor\桌面\ftd2xx.h(217) : 請參閱 'WINAPI' 的宣告
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(233) : error C2061: 語法錯誤 : 識別項 'DWORD'
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(234) : error C4430: 遺漏型別規範 - 假設為 int。注意: C++ 不支援 default-int
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(237) : error C2146: 語法錯誤 : 遺漏 ';' (在識別項 'WINAPI' 之前)
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(237) : error C4430: 遺漏型別規範 - 假設為 int。注意: C++ 不支援 default-int
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(237) : error C2370: 'FT_STATUS' : 重複定義; 儲存類別不相同
1> C:\Documents and Settings\milor\桌面\ftd2xx.h(65) : 請參閱 'FT_STATUS' 的宣告
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(237) : warning C4394: 'FT_STATUS' : per-appdomain 符號不可用 __declspec(dllimport) 標記
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(237) : error C2146: 語法錯誤 : 遺漏 ';' (在識別項 'FT_Close' 之前)
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(237) : error C4430: 遺漏型別規範 - 假設為 int。注意: C++ 不支援 default-int
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(237) : error C2086: 'int WINAPI' : 重複定義
1> C:\Documents and Settings\milor\桌面\ftd2xx.h(217) : 請參閱 'WINAPI' 的宣告
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(239) : error C2146: 語法錯誤 : 遺漏 ')' (在識別項 'ftHandle' 之前)
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(239) : error C4430: 遺漏型別規範 - 假設為 int。注意: C++ 不支援 default-int
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(239) : error C2059: 語法錯誤 : ')'
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(242) : error C2146: 語法錯誤 : 遺漏 ';' (在識別項 'WINAPI' 之前)
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(242) : error C4430: 遺漏型別規範 - 假設為 int。注意: C++ 不支援 default-int
1>C:\Documents and Settings\milor\桌面\ftd2xx.h(242) : error C2370: 'FT_STATUS' : 重複定義; 儲存類別不相同
1> C:\Documents and Settings\milor\桌面\ftd2xx.h(65) : 請參閱 'FT_STATUS' 的宣告