Главная страница
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.329 c
4-1158318433
DmiSb
2006-09-15 15:07
2007.01.28
Как узнать какое поля ввода потеряло фокус ?


2-1168014381
mih
2007-01-05 19:26
2007.01.28
SQL в TQuery


3-1163013588
V-A-V
2006-11-08 22:19
2007.01.28
Преобразование данных


2-1168432358
sapsi
2007-01-10 15:32
2007.01.28
Компонент для автоматического изменения размера формы


3-1162642554
Гоблин
2006-11-04 15:15
2007.01.28
IBSQL -> методы Close и Prepare