<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45"><TITLE>RE: Re-2: [vrf] Getting username in VEE 6.xx</TITLE></HEAD><BODY><P><FONT SIZE=2>Thanks. Problem is solved...</FONT></P><P><FONT SIZE=2>-Bill</FONT></P><P><FONT SIZE=2>> -----Original Message-----</FONT><BR><FONT SIZE=2>> From: Shawn Fessenden [<A HREF="mailto:shawn@testech-ltd.com">mailto:shawn@testech-ltd.com</A>]</FONT><BR><FONT SIZE=2>> Sent: Tuesday, May 03, 2005 11:04 AM</FONT><BR><FONT SIZE=2>> To: VRF</FONT><BR><FONT SIZE=2>> Subject: RE: Re-2: [vrf] Getting username in VEE 6.xx</FONT><BR><FONT SIZE=2>> </FONT><BR><FONT SIZE=2>> </FONT><BR><FONT SIZE=2>> > Is typing SET in a dos box the only way to see what the vars are?</FONT><BR><FONT SIZE=2>> </FONT><BR><FONT SIZE=2>> It's the easiest way to get a concise list. Otherwise, </FONT><BR><FONT SIZE=2>> they're stored at the</FONT><BR><FONT SIZE=2>> locations:</FONT><BR><FONT SIZE=2>> </FONT><BR><FONT SIZE=2>> HKLMSYSTEMCurrentControlSetControlSession ManagerEnvironment (for</FONT><BR><FONT SIZE=2>> system wide environment vars) and</FONT><BR><FONT SIZE=2>> </FONT><BR><FONT SIZE=2>> HKCUEnvironment (vars for specific users).</FONT><BR><FONT SIZE=2>> -SHAWN-</FONT><BR><FONT SIZE=2>> </FONT><BR><FONT SIZE=2>> </FONT><BR><FONT SIZE=2>> </FONT><BR><FONT SIZE=2>> ---</FONT><BR><FONT SIZE=2>> You are currently subscribed to vrf as: William.Drago@l-3com.com</FONT><BR><FONT SIZE=2>> To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".</FONT><BR><FONT SIZE=2>> To unsubscribe send a blank email to </FONT><BR><FONT SIZE=2>> "leave-vrf@it.lists.it.agilent.com".</FONT><BR><FONT SIZE=2>> To send messages to this mailing list, email "vrf@agilent.com". </FONT><BR><FONT SIZE=2>> If you need help with the mailing list send a message to </FONT><BR><FONT SIZE=2>> "owner-vrf@it.lists.it.agilent.com".</FONT><BR><FONT SIZE=2>> </FONT></P><P><FONT SIZE=2> This e-mail and subsequent attachments may contain information which is proprietary to L-3 Communications Corporation. The contents shall not be disclosed, copied, distributed or used unless authorized by L-3 Communications Narda - East.</FONT></P>---<BR>You are currently subscribed to vrf as: rsb@soco.agilent.com<BR>To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".<BR>To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this mailing list, email "vrf@agilent.com". <BR>If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".</BODY></HTML>
long _stdcall GetUserNameA (char* lpBuffer, long *nSize) in AdvApi32.dll
long _stdcall GetComputerNameA (char* lpBuffer, long *nSize) in Kernel32.dll
best regards,
Georg
Georg Nied Software-Development Hansestr. 7 51149 Cologne Germany
Tel: +49 (2203) 9770915 Fax: +49 (2203) 9770924 E-Mail: info@gn-software.de
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".