Re: Accessing the commandline (argc & argv)

From: Bob Walkden <"Bob>
Date: Thu, 03 Aug 2000 17:46:57 GMT

Hi Bernhard,

after I sent it to you I realised it might not be what you were after. This
reads stdin rather than the command line and is intended for cgi
applications.

Are you simply trying to get at the parameters that were passed to your
program? In this case I have used WinApi.GetCommandLine. I don't have a
source here which uses it, but it is fairly simple to figure out what to do.

Hope that helps,

Bob


----Original Message Follows----
From: "Treutwein; Bernhard" <Bernhard.Treutwein{([at]})nowhere.xy
To: "Bob Walkden" <bwalkden{([at]})nowhere.xy
Subject: Re: Accessing the commandline (argc & argv)
Date: Thu, 3 Aug 2000 15:25:45 +0200

  Hi Bob,

thanks for:
>
> try this. It is based on replies I received to the same question a few
> months ago (sorry, can't remember the respondent's name to attribute it
> properly).
>
I did not (yet) try it out, but I'm a bit puzzled if Console.Read
does return the stuff on the command line, that was the
case, e.g. for Logitech's Modula libary, but ... ?

regards
     Bernhard Treutwein Tel. 089/2180-2774
     Bernhard.Treutwein{([at]})nowhere.xy

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Received on Thu Aug 03 2000 - 17:46:57 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:27:45 UTC