Retrieving environment variables via c++ on windows 64-bit

Retrieving environment variables via c++ on windows 64-bit

book

Article ID: KB0089431

calendar_today

Updated On:

Products Versions
TIBCO DataSynapse GridServer -
Not Applicable -

Description

Resolution:
When an environment variable is set via a gridlibrary on a windows 64 bit engine, it should be retrieved using GetEnvironmentVariable(). Using getenv() in C++ will not work.

Issue/Introduction

Retrieving environment variables via c++ on windows 64-bit