Главная страница
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.028 c
2-1168473975
AnEnd
2007-01-11 03:06
2007.01.28
Как быстро скопировать record ?


15-1167928848
Kolan
2007-01-04 19:40
2007.01.28
Как в VB обратится к элементу строки?


15-1168114691
ocean
2007-01-06 23:18
2007.01.28
David Lynch


11-1127366651
TRUF
2005-09-22 09:24
2007.01.28
Drag&Drop


3-1162375002
Владимир71
2006-11-01 12:56
2007.01.28
dbf в fdb