Главная страница
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.031 c
2-1168607110
O.O
2007-01-12 16:05
2007.01.28
Тип DECIMAL


11-1145450843
smok_red
2006-04-19 16:47
2007.01.28
Установка KOLWebBrowser


8-1149080259
zxcv
2006-05-31 16:57
2007.01.28
StretchDraw(Width х Height)


1-1164891723
Krants
2006-11-30 16:02
2007.01.28
Вызов диалога подключения к сетевому ресурсу?


15-1167834056
Miau
2007-01-03 17:20
2007.01.28
Проблема с флэшками