Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2007.01.28;
Скачать: CL | DM;

Вниз

KOLHTTP   Найти похожие ветки 

 
hans ©   (2006-04-30 03:47) [0]

Hello!

I have some problems with the TKOLhttpControl object in KOLHTTP.pas.

For every call to the get(url) method I get two OnClose event callbacks.
Also the Header stringlist gets filled with both response header and body text, content stringlist is empty.

Has anyone worked with the object in question? am I doing something wrong? :)

/Hans


 
hans ©   (2006-04-30 03:55) [1]

hmm had a look at the code :-)
...

both

TKOLhttpControl.OnRead and TKOLhttpControl.OnClos procedures have

if Assigned(fOnClos) then fOnClos(@self);

so simple solution for the double callback will be to comment out the line in OnRead.



Страницы: 1 вся ветка

Текущий архив: 2007.01.28;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.031 c
15-1167758067
kaZaNoVa
2007-01-02 20:14
2007.01.28
Пространств вариантов или свобода выбора


15-1168006020
IMHO
2007-01-05 17:07
2007.01.28
Вечная компьютерная игра


2-1168416384
Rentgen
2007-01-10 11:06
2007.01.28
как из TDateTime вычесть к примеру 5 минут?


11-1146722668
NewLC
2006-05-04 10:04
2007.01.28
Совместное использование ActiveX ов


2-1168284648
Kostya_86
2007-01-08 22:30
2007.01.28
Запуск access