KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
The signature for the main function in C\C++ can include 3 arguments: main( int argc, char *argv[ ], char *envp[ ] ) The third is the environment variables. I'm compiling a library under VS10 and therefor I have no main() . How can I get the environment variables in exactly the same type as is in char *envp[] ? I rather not use .NET as to decrease dependencies and perhaps one day be open to portability.
Tags (comma-separated)
Save Edits
Cancel