Главная страница
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.052 c
11-1146354469
hans
2006-04-30 03:47
2007.01.28
KOLHTTP


1-1164984707
w666w
2006-12-01 17:51
2007.01.28
Как распаковать Zip из строки в строку.


15-1168163778
Степан
2007-01-07 12:56
2007.01.28
Delphi для КПК


3-1162928941
Kley
2006-11-07 22:49
2007.01.28
сохранение данных связанных таблиц


9-1142783756
Чичиков
2006-03-19 18:55
2007.01.28
Какой формат моделей использовать?