我現在有這個問題的日子。我有一個delphi應用程序,我試圖在我的筆記本電腦上運行。該程序運行在其它計算機非常好,但是當我試圖程序在我的筆記本電腦複製,它會顯示錯誤的地段:無法編譯使用單位「IdHTTPWebBrokerBridge」,delphi 2005
[Error] IdHTTPWebBrokerBridge.pas(46): E2003 Undeclared identifier: 'TIdPeerThread'
[Error] IdHTTPWebBrokerBridge.pas(104): E2170 Cannot override a non-virtual method
[Error] IdHTTPWebBrokerBridge.pas(238): E2029 ')' expected but identifier 'Connection' found
[Error] IdHTTPWebBrokerBridge.pas(238): E2066 Missing operator or semicolon
[Error] IdHTTPWebBrokerBridge.pas(242): E2029 ':=' expected but ':' found
[Error] IdHTTPWebBrokerBridge.pas(242): E2015 Operator not applicable to this operand type
[Error] IdHTTPWebBrokerBridge.pas(242): E2014 Statement expected, but expression of type 'string' found
[Error] IdHTTPWebBrokerBridge.pas(243): E2029 ':=' expected but ':' found
[Error] IdHTTPWebBrokerBridge.pas(243): E2015 Operator not applicable to this operand type
[Error] IdHTTPWebBrokerBridge.pas(244): E2029 ':=' expected but ':' found
[Error] IdHTTPWebBrokerBridge.pas(244): E2015 Operator not applicable to this operand type
[Error] IdHTTPWebBrokerBridge.pas(245): E2029 ':=' expected but ':' found
[Error] IdHTTPWebBrokerBridge.pas(245): E2015 Operator not applicable to this operand type
[Error] IdHTTPWebBrokerBridge.pas(246): E2153 ';' not allowed before 'ELSE'
[Error] IdHTTPWebBrokerBridge.pas(249): E2029 '.' expected but ';' found
[Error] IdHTTPWebBrokerBridge.pas(308): E2066 Missing operator or semicolon
[Error] IdHTTPWebBrokerBridge.pas(308): E2066 Missing operator or semicolon
[Error] IdHTTPWebBrokerBridge.pas(451): E2066 Missing operator or semicolon
[Error] IdHTTPWebBrokerBridge.pas(451): E2066 Missing operator or semicolon
[Error] IdHTTPWebBrokerBridge.pas(499): E2037 Declaration of 'Create' differs from previous declaration
[Error] IdHTTPWebBrokerBridge.pas(501): E2075 This form of method call only allowed in methods of derived types
[Error] IdHTTPWebBrokerBridge.pas(502): E2003 Undeclared identifier: 'FOkToProcessCommand'
[Fatal Error] Primews.dpr(145): F2063 Could not compile used unit 'SourceServerBase\IdHTTPWebBrokerBridge.pas'
我不知道如何解決我自己的這個問題,因爲它的我第一次我遇到過這個問題。我應該怎麼做的任何建議?謝謝大家。
有新問題 我發佈此問題後沒有做出任何更改。現在,它顯示新的錯誤信息:
[Fatal Error] Primews.dpr(67): F2051 Unit DBClient was compiled with a different version of DSIntf.szFIELDNAME
這是什麼意思?順便說一下,我在我的筆記本電腦上使用delphi 2005個人版。 在此輸入代碼
您的計算機使用的是什麼版本的Delphi? – 2012-02-21 16:15:00
@Reme,我在我的筆記本電腦中使用Delphi2005 personal。 – jayAnn 2012-02-21 22:35:40
現在,它顯示新的錯誤。我沒有改變任何。錯誤是:'[致命錯誤] Primews.dpr(67):F2051單元DBClient編譯了不同版本的DSIntf.szFIELDNAME' – jayAnn 2012-02-21 22:43:05