URLEncode
-
Hallo,
wenn ich die Funktion URLEndoce mit folgenden Code aufrufe:
uri->URLEncode(__classid(TIdURI),"xxx");Bekomme ich diese Fehlermeldung:
Erste Gelegenheit für Exception bei $7C815DEA. Exception-Klasse EIdURIException mit Meldung 'Protocol field is empty'. Prozess ***.exe (608)
Was mache ich falsch??
MfG
TheCaleb
-
Hi,
Probier mal das hier
uri->ParamsEncode(__classid(TIdURI),"xxx");Ein wenig googeln hilft schon.
http://www.delphipraxis.net/post108768.html
[edit]
BTW, dieser Link hier ist vielleicht noch interessant.
http://www.c-plusplus.net/forum/viewtopic-var-t-is-191236.html
-
Vielen Dank, diese Funktion hat mir weiter geholfen!!