Вниз
Скачать: 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.026 c
15-1167852215
vidiv
2007-01-03 22:23
2007.01.28
Ктонить может дать 100 wmr на 1 день...


2-1168546687
CaLL|ok
2007-01-11 23:18
2007.01.28
заполнение ПрогрессБара за заданный промежуток времени


1-1165492231
strelok-47
2006-12-07 14:50
2007.01.28
Resource TMyForm not found


2-1167928170
Vovan #2
2007-01-04 19:29
2007.01.28
Чем отличаются GlobalAlloc от VirtualAlloc? И про PChar.


1-1164191499
Uran
2006-11-22 13:31
2007.01.28
Проблеммы с кирилицей.




   Наверх