HGG - błąd przy kompilacji

0

Próbowałem zainstalować komponent HGG na Delphi 7. Zrobiłem wszystko zgodnie z instrukcją obsługi i wyskakują błędy w debugerze:

  [Error] HGG.pas(331): Cannot override a static method
  [Error] HGG.pas(957): Undeclared identifier: 'WriteBuffer'
  [Error] HGG.pas(981): Undeclared identifier: 'WriteBuffer'
  [Error] HGG.pas(994): Undeclared identifier: 'WriteBuffer'
  [Error] HGG.pas(1064): Undeclared identifier: 'WriteBuffer'
  [Error] HGG.pas(1089): Undeclared identifier: 'WriteBuffer'
  [Error] HGG.pas(1104): Undeclared identifier: 'WriteBuffer'
  [Error] HGG.pas(1143): Undeclared identifier: 'ReadInteger'
  [Error] HGG.pas(1144): Undeclared identifier: 'ReadInteger'
  [Error] HGG.pas(1150): Undeclared identifier: 'ReadInteger'
  [Error] HGG.pas(1174): Undeclared identifier: 'ReadBuffer'
  [Error] HGG.pas(1179): Undeclared identifier: 'ReadBuffer'
  [Error] HGG.pas(1184): Undeclared identifier: 'ReadBuffer'
  [Error] HGG.pas(1189): Undeclared identifier: 'ReadBuffer'
  [Error] HGG.pas(1196): Undeclared identifier: 'ReadBuffer'
  [Error] HGG.pas(1200): Undeclared identifier: 'ReadBuffer'
  [Error] HGG.pas(1209): Undeclared identifier: 'ReadBuffer'
  [Error] HGG.pas(1379): Declaration of 'Create' differs from previous declaration
  [Error] HGG.pas(1381): This form of method call only allowed in methods of derived types
  [Error] HGG.pas(1382): Undeclared identifier: 'Image'
  [Error] HGG.pas(1383): Undeclared identifier: 'FUsers'
  [Error] HGG.pas(1384): Missing operator or semicolon
  [Error] HGG.pas(1385): Undeclared identifier: 'PingHandler'
  [Error] HGG.pas(1386): Missing operator or semicolon
  [Error] HGG.pas(1387): Missing operator or semicolon
  [Error] HGG.pas(1388): Missing operator or semicolon
  [Error] HGG.pas(1388): Undeclared identifier: 'DoPing'
  [Error] HGG.pas(1389): Undeclared identifier: 'DelayHandler'
  [Error] HGG.pas(1390): Missing operator or semicolon
  [Error] HGG.pas(1391): Missing operator or semicolon
  [Error] HGG.pas(1392): Missing operator or semicolon
  [Error] HGG.pas(1392): Undeclared identifier: 'DoDelay'
  [Error] HGG.pas(1393): Undeclared identifier: 'Host'
  [Error] HGG.pas(1394): Undeclared identifier: 'Port'
  [Error] HGG.pas(1395): Undeclared identifier: 'PubDirNextGGNumber'
  [Error] HGG.pas(1434): Undeclared identifier: 'WriteBuffer'
  [Error] HGG.pas(1467): Undeclared identifier: 'WriteBuffer'
  [Error] HGG.pas(1500): Undeclared identifier: 'Host'
  [Error] HGG.pas(1583): Undeclared identifier: 'WriteBuffer'
  [Error] HGG.pas(1725): Undeclared identifier: 'WriteBuffer'
  [Error] HGG.pas(1738): Undeclared identifier: 'WriteBuffer'
  [Error] HGG.pas(1773): Undeclared identifier: 'WriteBuffer'
  [Hint] HGG.pas(318): Private symbol 'DoPing' declared but never used
  [Hint] HGG.pas(319): Private symbol 'DoDelay' declared but never used
  [Fatal Error] dclusr.dpk(39): Could not compile used unit 'HGG.pas'

Co z tym zrobić żeby działało?

0

Jaką masz wersje Indy? HGG działa tylko z Indy 9. Przepisywanie kodu, żeby był kompatybilny z Indy 10, jest możliwe, ale nieopłacalne. Masz dwa wyjścia - zainstaluj Indy 9, albo sam napisz komponent do obsługi GG...

0

Nex miałeś racje. Już wszystko działa. Dzięki za pomoc.

1 użytkowników online, w tym zalogowanych: 0, gości: 1