Главная страница
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.051 c
15-1168381558
SkyRanger
2007-01-10 01:25
2007.01.28
Урезанный редактор D6 Personal


4-1158316591
R_O_O_T
2006-09-15 14:36
2007.01.28
помогите с SETUPAPI.dll )))


2-1168210228
Wind
2007-01-08 01:50
2007.01.28
Обновить занные в записи (SQL)


2-1168510227
root
2007-01-11 13:10
2007.01.28
Как правельно обрабатывать исключения


15-1167917805
Layner
2007-01-04 16:36
2007.01.28
Вопрос по компилятору