Build your own internal argument object ie TCommandSwitch.

or look on torry's delphi page. you'll find quite a few options

-----Original Message-----
From: Alistair George [mailto:[EMAIL PROTECTED]
Sent: Friday, 7 March 2003 1:09 p.m.
To: Multiple recipients of list delphi
Subject: [DUG]: Paramstr


Hi all. I can use a boolean variable, instead to signal the paramstr has been
used & is now invalid but as a matter of interest, does anyone know how to clear
the paramstr list (command line) after it has been used?

BTW the earlier query of problem with shutting down an errant program of mine by
the powerdown button have now been resolved:
A) by using the WM_QUERYENDSESSION (which will close the program, but stops the
shutdown events aftewards.
B) by using WM_Power call to force another instance of shutting down follows
the above and makes the program behave as desired.
Cheers,
Al+
















                    c

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to