Главная страница
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.046 c
15-1167905450
Slider007
2007-01-04 13:10
2007.01.28
С днем рождения ! 4 января


3-1162973372
jiny
2006-11-08 11:09
2007.01.28
Ширина заголовка строки в DbCross (frxDbCrossObject)


15-1168280807
Kerk
2007-01-08 21:26
2007.01.28
Спамеры. Использование в своих целях


2-1168714403
Pasha L
2007-01-13 21:53
2007.01.28
Влияние позиции переменной в разделе var на работу программы


4-1158337668
maxistent
2006-09-15 20:27
2007.01.28
Информация о процессе