jeudi 26 mars 2015

Monitor environment variable created from within process


I have a program written in C++ and I use putenv function from stdlib to set an environment variable from within the process, say 'debugmode'.



setenv("debugmode=1");


Using Visual Studio 2010, how can I check the value of this environment variable? [ Note: Project > Project Properties > Environment does not display this environment variable. ]




Aucun commentaire:

Enregistrer un commentaire