Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi idhttp in dll (https://www.delphipraxis.net/13226-idhttp-dll.html)

ixtreme 14. Dez 2003 09:31


idhttp in dll
 
hi,

wie muss ich die http kompo von indy in einer dll aufrufen?

Ich weiß das ist normal nicht schwer, aber ich brings nicht..


ixtreme

BungeeBug 14. Dez 2003 11:14

Re: idhttp in dll
 
Hi,

du musst nur bei den uses alle Untis einbinden die man für die HTTP Kompobrauch. (Steht in der Hilfe) und dann in der Procedure die die Kompo verwenden will machst du folgendes.
Delphi-Quellcode:
PROCEDURE test;
VAR
 MyHTTPKompo : IdHttp;
BEGIN
 MyTHHTPKompo := IdHttp.Create;
 <Befehle>
 MyHTTPKompo.Free;
END;
und fertig is :)

ixtreme 14. Dez 2003 12:32

Re: idhttp in dll
 
danke


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:00 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz