[so] [tema1] windows - problema GetEnvironmentVariable

Ionut Daneasa ionut.daneasa at gmail.com
Mon May 4 22:48:41 EEST 2009


s-a rezolvat cand am uploadat. Nu stiu de ce nu-mi mergea local. Pe server
merge brici

---------- Forwarded message ----------
From: Ionut Daneasa <ionut.daneasa at gmail.com>
Date: 2009/5/4
Subject: [so][tema1] windows - problema GetEnvironmentVariable
To: so at cursuri.cs.pub.ro


salut,

nu-mi merge GetEnvironmentVariable in sensul ca nu-mi pune nimic in lpBuffer
si in plus si valoarea returnata (lungimea stringului e 0). E chiar aiurea
pentru ca de exemplu daca rulez in cygwin echo $USER imi returneaza
Administrator, dar daca fac acelasi lucru in cu GetEnv... nu-mi aduce nimic.

Any ideas?

merci,
Ionut
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20090504/ed9b1a9a/attachment.htm>


More information about the so mailing list