[so] [tema1] windows - problema GetEnvironmentVariable

Ionut Daneasa ionut.daneasa at gmail.com
Mon May 4 20:03:12 EEST 2009


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/980a0d4c/attachment.htm>


More information about the so mailing list