Avatar of rickhill11

asked on 

This API cannot be used in applications that execute in the Windows Runtime.

What on Earth does the above mean.

In earlier versions of my program, I used getenv(), and since the environment variable that I was getting had a relatively obscure name, I never had a problem.  The compiler wants me to use _dupenv_s() instead, but when I go to the documentation, it has the above warning.  

Any insight will be greatly appreciated.
C++Microsoft DevelopmentProgramming

Avatar of undefined
Last Comment
David Johnson, CD

8/22/2022 - Mon