Click here to Skip to main content
15,915,057 members
Home / Discussions / System Admin
   

System Admin

 
GeneralRe: Windows 9x Question Pin
Michael Dunn12-Oct-03 19:37
sitebuilderMichael Dunn12-Oct-03 19:37 
GeneralRe: Windows 9x Question Pin
Roger Wright12-Oct-03 22:23
professionalRoger Wright12-Oct-03 22:23 
GeneralRe: OT Pin
Atlantys20-Oct-03 13:10
Atlantys20-Oct-03 13:10 
GeneralRe: OT Pin
Michael Dunn20-Oct-03 19:41
sitebuilderMichael Dunn20-Oct-03 19:41 
GeneralRe: OT Pin
Atlantys20-Oct-03 20:44
Atlantys20-Oct-03 20:44 
GeneralRe: OT Pin
Michael Dunn21-Oct-03 4:45
sitebuilderMichael Dunn21-Oct-03 4:45 
GeneralReturning values in Console Pin
Leo Smith9-Oct-03 5:21
Leo Smith9-Oct-03 5:21 
GeneralRe: Returning values in Console Pin
Tim Deveaux9-Oct-03 6:36
Tim Deveaux9-Oct-03 6:36 
Have a look at the Get/SetEnvironmenVariable(s) in winbase.

Note diff between it and stdlib get/putenv:

<snip>

"The GetEnvironmentVariables function retrieves the environment variables for the current process"

... "getenv and _putenv use the copy of the environment pointed to by the global variable _environ to access the environment. getenv operates only on the data structures accessible to the run-time library and not on the environment "segment" created for the process by the operating system..."

</snip>

So there may be issues - i.e. if you need this var to persist past the curren login. Also, if I read this correctly, you can create new (local env)vars with SetEnvironmentVariable(), but not with putenv().
GeneralRe: Returning values in Console Pin
Blake Coverett9-Oct-03 7:27
Blake Coverett9-Oct-03 7:27 
GeneralRe: Returning values in Console Pin
Tim Deveaux9-Oct-03 9:08
Tim Deveaux9-Oct-03 9:08 
GeneralRe: Returning values in Console Pin
Blake Coverett9-Oct-03 11:44
Blake Coverett9-Oct-03 11:44 
Generalthe force is strong on this one... Pin
Tim Deveaux10-Oct-03 2:28
Tim Deveaux10-Oct-03 2:28 
GeneralRe: Returning values in Console Pin
Mike Dimmick10-Oct-03 2:45
Mike Dimmick10-Oct-03 2:45 
GeneralExchange Server 2K Pin
Anand Paranjpe9-Oct-03 1:32
Anand Paranjpe9-Oct-03 1:32 
GeneralRe: Exchange Server 2K Pin
Mike Dimmick10-Oct-03 0:41
Mike Dimmick10-Oct-03 0:41 
GeneralRe: Exchange Server 2K Pin
Anand Paranjpe12-Oct-03 23:16
Anand Paranjpe12-Oct-03 23:16 
QuestionHow to draw object like drawing mouse cursor? Pin
jajamal8-Oct-03 4:43
jajamal8-Oct-03 4:43 
AnswerRe: How to draw object like drawing mouse cursor? Pin
Mike Dimmick8-Oct-03 4:56
Mike Dimmick8-Oct-03 4:56 
GeneralRe: How to draw object like drawing mouse cursor? Pin
jajamal8-Oct-03 16:17
jajamal8-Oct-03 16:17 
QuestionDeleting Event Log files? Pin
ravfingcoder6-Oct-03 21:37
ravfingcoder6-Oct-03 21:37 
GeneralNetwork Drive Mapping in Windows XP. Pin
Moisés Lima Dutra6-Oct-03 1:56
Moisés Lima Dutra6-Oct-03 1:56 
Generalcmd.exe / script language Pin
Jörgen Sigvardsson3-Oct-03 0:20
Jörgen Sigvardsson3-Oct-03 0:20 
GeneralRe: cmd.exe / script language Pin
Mike Dimmick3-Oct-03 6:38
Mike Dimmick3-Oct-03 6:38 
GeneralRe: cmd.exe / script language Pin
Jörgen Sigvardsson3-Oct-03 10:43
Jörgen Sigvardsson3-Oct-03 10:43 
GeneralRe: cmd.exe / script language Pin
Mike Dimmick3-Oct-03 22:56
Mike Dimmick3-Oct-03 22:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.