Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.034 c
2-1168706574
ice321i
2007-01-13 19:42
2007.01.28
Отчет в не правильное кодировке


2-1168508786
Shuttle
2007-01-11 12:46
2007.01.28
плиз


2-1168699117
IvanIvan
2007-01-13 17:38
2007.01.28
DbGrid


1-1164973182
LexusU
2006-12-01 14:39
2007.01.28
Подключение DLL написаной на VC++ в проекте Delphi


15-1168400743
Alex_ey
2007-01-10 06:45
2007.01.28
спящий режим




   Наверх