2012-02-21 4 views
1

私は今この問題を数日間しています。私は私のラップトップで実行しようとしたデルファイのアプリケーションがあります。このプログラムは、他のコンピュータに非常に良い実行されますが、私は私のラップトップでプログラムをコピーしようとすると、それはエラーのLOTSが表示されます。使用ユニット "IdHTTPWebBrokerBridge"、デルファイ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 

この意味は? ところで、私はラップトップでデルファイ2005パーソナルを使用しています。 ここにコードを入力

+0

あなたのコンピュータはどのバージョンのDelphiを使用していますか? –

+0

@Reme、私は私のラップトップで個人的にDelphi2005を使用しています。 – jayAnn

+0

今、新しいエラーを表示します。私は何も変えなかった。エラー: '[致命的なエラー] Primews.dpr(67):F2051ユニットDBClientが異なるバージョンのDSIntf.szFIELDNAMEでコンパイルされました。 – jayAnn

答えて

4

TIdPeerThreadはIndy 9以前のクラスです。 Indy 10には存在しません。TIdContextに置き換えられました。あなたのノートパソコンのバージョンのIndyには、間違ったバージョンのIdHTTPWebBrokerBridge.pasが使用されています。 Indyの最新バージョンSVNサーバーまたはFulganミラーからIdHTTPWebBrokerBridge.pasを入手できます。両方のリンクはIndy's websiteにあります。

+0

今、新しいエラーを表示します。私は何も変えなかった。エラー: '[致命的なエラー] Primews.dpr(67):F2051ユニットDBClientが異なるバージョンのDSIntf.szFIELDNAMEでコンパイルされました。' – jayAnn

+0

@jayAnnその新しい質問をして、この質問にリンクしてください。 –

関連する問題