I have solved my problem by using the NWUSERNAME variable instead.  I
didn't even see it becuase it scrolled off the screen.  However
GetEnvironmentVariable doesn't seem to work on envvar names of 1 char. 
Is this a limit of the GetEnvironmentVariable function?

-- 
Glen Boyd               <[EMAIL PROTECTED]>
Programmer              Napier City Council
Private Bag 6010, Napier, NEW ZEALAND
Phone: +64-6-8357579    Fax: +64-6-8357574
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to