2012-02-21 2 views
1

지금이 문제가 있습니다. 내 노트북에서 실행하려고 델파이 애플 리케이션이 있습니다. 이 프로그램은 다른 컴퓨터에서 아주 좋은 실행,하지만 난 내 노트북에서 프로그램을 복사 할 때, 그것은 많은 오류 표시 나는 그것의 나의 처음부터 내 자신이 문제를 해결하는 방법을 잘 모릅니다사용한 유닛 "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 

의미는 무엇입니까? 그건 그렇고, 내 컴퓨터에서 델파이 2005 개인을 사용하고 있습니다. 여기에 코드를 입력하십시오.

+0

컴퓨터에서 사용하는 델파이의 버전은 무엇입니까? –

+0

@Reme, 내 노트북에서 Delphi2005 personal을 사용하고 있습니다. – jayAnn

+0

이제 새로운 오류가 표시됩니다. 나는 아무것도 바꾸지 않았다. 오류 : '[치명적인 오류] Primews.dpr (67) : F2051 유닛 DBClient가 DSIntf.szFIELDNAME의 다른 버전으로 컴파일되었습니다.' – jayAnn

답변

4

TIdPeerThread은 Indy 9 이하의 클래스입니다. Indy 10에는 존재하지 않습니다. TIdContext으로 바뀌 었습니다. 따라서 귀하는 귀하의 노트북 버전 인디에 IdHTTPWebBrokerBridge.pas의 잘못된 버전을 사용하고 있습니다. Indy의 SVN 서버 또는 Fulgan 미러에서 Indy 10 및 IdHTTPWebBrokerBridge.pas의 최신 버전을 구할 수 있습니다. 두 링크는 ​​Indy's website에 있습니다.

+0

이제 새로운 오류가 표시됩니다. 나는 아무것도 바꾸지 않았다. 오류 : '[치명적인 오류] Primews.dpr (67) : F2051 단위 DBClient가 DSIntf.szFIELDNAME' – jayAnn

+0

@jayAnn의 다른 버전으로 컴파일되었으므로 새로운 질문을 한 후이 질문에 연결하십시오. –

관련 문제