Вниз
Скачать: 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.035 c
8-1149167642
Morgan128
2006-06-01 17:14
2007.01.28
Совершенно сумасшедший вопрос


2-1168190561
Влад
2007-01-07 20:22
2007.01.28
OR


15-1168525657
*Pavel
2007-01-11 17:27
2007.01.28
Выбор серверной платформы


15-1168176479
ProgRAMmer Dimonych
2007-01-07 16:27
2007.01.28
Помогите советом, пожалуйста...


2-1168124906
koha
2007-01-07 02:08
2007.01.28
Изменение в MassageDlg надписей на русские под Delphi2006




   Наверх