遭遇Unit SockApp was compiled with a different version of IdTCPServer.TIdTCPServer
 
  问题:在Borland Developer Studio 2006中创建Web Services(SOAP Server Application类型),代码编写完毕后编译,就出现“Unit SockApp was compiled with a different version of IdTCPServer.TIdTCPServer”。
 
  解决:将Indy9的路径(例如为:E:\WorkStudio\Program Files\Borland\BDS\4.0\lib\Indy9)加入Project -> Options -> Directories/Conditionals -> Search path中。
 
  如果将Indy10的路径加入的话,则也会出现上述问题。