CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2003
    Posts
    77

    environment variables

    i need to write a c++ program that accessses the system environment variables!can someone help me out in this!
    sriranjani

  2. #2
    Join Date
    Dec 2002
    Posts
    47
    Have you tried getenv() ?

    -rick

  3. #3
    Join Date
    Sep 2003
    Location
    Forever Gone... For Now...
    Posts
    1,515
    See GetEnvironmentVariable or getenv in MSDN...
    Thought for the day/week/month/year:
    Windows System Error 4006:
    Replication with a nonconfigured partner is not allowed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured