Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi tidhttpproxy in consolenprogramm (https://www.delphipraxis.net/100117-tidhttpproxy-consolenprogramm.html)

easteregg 22. Sep 2007 15:14


tidhttpproxy in consolenprogramm
 
heyho

ich wollt mir mal nen einfachen proxy schreiben, aber das gelingt mir noch nicht so richtig.
wie baut man die indy komponente in das consolenprogramm richtig ein, dass dieser dann auch ordentlich weiter läuft?
bisher siehts so aus, aber das klappt hinten und vorne nicht.

Delphi-Quellcode:
program proxy;

{$APPTYPE CONSOLE}

uses
  SysUtils,
  IdHTTPProxyServer;

var
 IdHTTPProxyServer1: TIdHTTPProxyServer;
begin
  { TODO -oUser -cConsole Main : Insert code here }
    IdHTTPProxyServer1.Create;
    IdHTTPProxyServer1.Active := true;


end.
wie muss sowas aussehen?


Alle Zeitangaben in WEZ +1. Es ist jetzt 05:55 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