Hello,
Using the idHTTP component in
Indy 9 was very easy, but now I want to use the
Indy 10 library and I got a lot of problems, even just to get a page from the Web.
This is how it goes in
Indy 9:
Delphi-Quellcode:
IdHttp:=TIdHttp.Create(
NIL);
Try
Page:=IdHttp.Get(
URL);
FStringList.Text:=Page;
.....
.....
Finally
IdHttp.Free;
End;
If you do this with
Indy 10 then the error message will be raised:
"EidIOHandlerPropInvalid : IOHandler value is not valid"
What is the proper declaration in
Indy 10 to do this?
I don't want to use the components in design time
but I want to create it in Runtime.
Greets,
Delphi Lover.