Вниз
Скачать: 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.04 c
2-1168706574
ice321i
2007-01-13 19:42
2007.01.28
Отчет в не правильное кодировке


2-1168436770
FIL-23
2007-01-10 16:46
2007.01.28
работа с константой


15-1168205660
maxmaxov
2007-01-08 00:34
2007.01.28
где в Питере можно купить редкие фильмы, кроме как на Юноне?


15-1166237552
for
2006-12-16 05:52
2007.01.28
Сишные циклы FOR в Паскаль не переводятся?


2-1168335603
DelphiLexx
2007-01-09 12:40
2007.01.28
OnDrawColumnCell




   Наверх