Instalacja HGG i wersja delphi...

0

Mam dwa problemy. Chciałem pobawić się z własnym komunikatorem na podstawie komponentu THGG. I o tyle o ile wiem jak to ma wyglądać w kodzie (łączenie się , wysyłanie itp) , tak nie wiem jak ten komponent zainstalować...
Czy ktoś się orientuje : Mam Delphi 2005 czy to znaczy , że to jest Delphi 9 ? Bo patrzyłem w google "Delphi jak zainstalować komponent" i jest napisane do wersji 7. Komponenty instaluje się Component --> Install Compoent. W moim Delphi tego nie ma ? Ja mam co najwyżej Component --> Install Packages. Więc daję File --> New --> Package. I w prawym menu (kolumnie) jest "Containst" , i daję prawym "Add" po czym wpisuje nazwę (ścieżkę) HGG. I chcę dać i Prawy--> Install. Powinno mi się zainstalować , ale wyskakuje coś takiego :


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

Czemu coś takiego się pokazuje. Mam zainstalowane Indy w wersji 9 (tak przynajmniej pisze) no i Delphi 2005 (czyli wersja Delphi 9 ?, bo tak też pisze). W czym jest błąd.
Bardzo proszę o pomoc , bo nie wiem o co chodzi. THGG jest w wersji 0.8....

0

przeinstaluj najlepiej delphi, ściągnij INDY do swojej wersji delphi stąd:
http://www.atozed.com/indy/plus/Files.EN.aspx
Ja mam Delphi 7 więc napiszę Ci jak ja to robię, a Ty analogicznie zrób to samo do swojej wersji.
Instaluję indy, potem otwieram katalog w którym je zainstalowałem, kopiuję wszystkie pliki z katalogu 'LibD7' do biblioteki delphi 'C:\Programy\Delphi7SE\Lib'. Potem otwieram program Delphi, z menu wybieram po kolei: component -> install package -> Add -> wchodze do biblioteki 'C:\Programy\Delphi7SE\Lib' i klikam na 'dclindy70.bpl' -> OK. I mam Indy.

Po instalacji Indy plik HGG.pas skopiuj do bibioteki delphi. Otwórz program, z menu wybierz: component -> install component -> Unit file name BROWSE -> wybierz z biblioteki plik hGG.pas -> OK

0

zapomniałem dopisać, że mi przy instalacji indy wyskakuje błąd i muszę wszystko robić ręcznie, nie wiem jak jest u Ciebie, ale jak indy instaluje się prawidłowo to z komponentem hgg postępuj jak Ci napisałem.

pzdr

0

Dzięki , popatrzę no to po formacie dysku , który się zbliża ;) I jak coś to napiszę , dzięki za wskazówki ...

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