[so] [Tema 1][Windows]Intrebari

Razvan Deaconescu razvan.deaconescu at cs.pub.ro
Sun Mar 22 18:51:52 EET 2009


On Sun, 2009-03-22 at 09:12 -0700, andrei dragus wrote:
<snip>
> Am compilat si rulat in cygwin:
> 
> assertion "GetEnvironmentVariable(ENV_NAME, buf, BUFSIZ) != 0" failed:
> file "razv.cpp", line 18

Mai sa fie. Sigur ai ultima versiune a masinii virtuale? Mai da si
altora aceeasi problema? Am verificat si pe alta masina virtuala (cea de
la PSO/SO2) si imi merge:

--
Administrator at scarlet:~/test-env$ env | grep USER
USERDOMAIN=SCARLET
ALLUSERSPROFILE=C:\Documents and Settings\All Users
USER=Administrator
USERNAME=cyg_server
USERPROFILE=C:\Documents and Settings\Administrator
Administrator at scarlet:~/test-env$ ./test-env.exe 
name = USER; value = Administrator
--

Ce-ti spune comanda "env | grep USER"?

Razvan



More information about the so mailing list