![]() |
|
|
Регистрация | << Правила форума >> | FAQ | Пользователи | Календарь | Поиск | Сообщения за сегодня | Все разделы прочитаны |
![]() |
|
Опции темы | Поиск в этой теме | Опции просмотра |
|
#1
|
|||
|
|||
![]() Всем привет. Решил написать чат на протокле ICQ. Скачал компонент TICQ v1.34.1 Ситуация такая: при нажати кнопки Button1, UIN получает из Edit1, а пароль из Edit2. Так вот не дает скомпилировать. В этой строчке ошибку показывет:
PHP код:
а вот полностью функция: PHP код:
в чем ошибка?? |
#2
|
|||
|
|||
![]() Вижу фазы луны смещение, да с юпитером резонанс!!!!
![]() Что за ошибка-то? |
#3
|
||||
|
||||
![]() вот подключение
Код:
ICQClient1.ConvertToPlaintext := True; ICQClient1.UIN := StrToInt(TUIN1.Text); ICQClient1.Password := TPASS1.Text; ICQClient1.ICQServer:=ServerUIN1.Text; ICQClient1.ICQPort:=StrToInt(PortUIN1.Text); ICQClient1.Login(S_ALLOWDAUTH); Вообще делай по примеру что там |
#4
|
|||
|
|||
![]() Вот ошибки:
[Error] Unit1.pas(34): Undeclared identifier: 'ICQClient1' [Error] Unit1.pas(34): Missing operator or semicolon [Error] Unit1.pas(35): Missing operator or semicolon [Error] Unit1.pas(36): Missing operator or semicolon [Error] Unit1.pas(39): Undeclared identifier: 'ICQClient1MessageRecv1' [Error] Unit1.pas(39): ';' expected but '(' found [Error] Unit1.pas(41): Undeclared identifier: 'Memo1' [Error] Unit1.pas(41): Missing operator or semicolon [Error] Unit1.pas(41): Undeclared identifier: 'UIN' [Error] Unit1.pas(41): '(' expected but ')' found [Error] Unit1.pas(42): Missing operator or semicolon [Error] Unit1.pas(44): Undeclared identifier: 'OnLine' [Warning] Unit1.pas(44): Comparing signed and unsigned types - widened both operands [Error] Unit1.pas(45): Undeclared identifier: 'Send' [Error] Unit1.pas(45): 'END' expected but ')' found [Error] Unit1.pas(47): Missing operator or semicolon [Warning] Unit1.pas(47): Comparing signed and unsigned types - widened both operands [Error] Unit1.pas(48): Undeclared identifier: 'icqclient1' [Error] Unit1.pas(48): Missing operator or semicolon [Error] Unit1.pas(48): Incompatible types: 'Cardinal' and 'String' [Error] Unit1.pas(51): Missing operator or semicolon [Error] Unit1.pas(51): Incompatible types: 'Cardinal' and 'String' [Error] Unit1.pas(52): Incompatible types: 'String' and 'procedure, untyped pointer or untyped parameter' [Error] Unit1.pas(54): ';' expected but 'ELSE' found [Error] Unit1.pas(56): '.' expected but ';' found [Error] Unit1.pas(58): Undeclared identifier: 'nick' [Error] Unit1.pas(60): Undeclared identifier: 'Reged' [Warning] Unit1.pas(60): Comparing signed and unsigned types - widened both operands [Error] Unit1.pas(61): Undeclared identifier: 'nick' [Error] Unit1.pas(61): Undeclared identifier: 'ListBox2' [Error] Unit1.pas(61): ')' expected but ',' found [Error] Unit1.pas(64): ';' expected but 'FUNCTION' found [Error] Unit1.pas(64): Undeclared identifier: 'OnLine' [Error] Unit1.pas(67): Undeclared identifier: 'OnLine' [Error] Unit1.pas(68): Undeclared identifier: 'ListBox1' [Error] Unit1.pas(69): Incompatible types [Error] Unit1.pas(69): Missing operator or semicolon [Error] Unit1.pas(79): Undeclared identifier: 'Str2' [Error] Unit1.pas(79): Missing operator or semicolon [Error] Unit1.pas(79): Undeclared identifier: 'UIN' [Error] Unit1.pas(80): Assignment to FOR-Loop variable 'i' [Error] Unit1.pas(80): 'DO' expected but identifier 'Items' found [Error] Unit1.pas(82): Undeclared identifier: 'i2' [Error] Unit1.pas(90): '(' expected but ':=' found [Error] Unit1.pas(90): Not enough actual parameters [Error] Unit1.pas(91): '(' expected but ',' found [Error] Unit1.pas(91): Incompatible types [Error] Unit1.pas(92): Undeclared identifier: 'icqclient1' [Error] Unit1.pas(92): Missing operator or semicolon [Error] Unit1.pas(92): Incompatible types Цитата:
|
#5
|
|||
|
|||
![]() Может я компонент не праильно утсановил, а то он везде TICQClient1. ошибку выдает(((
|
#6
|
|||
|
|||
![]() И ещё: при установки компонента TICQ был такой варнинг:
PHP код:
Может из-за него все это??? |