The LMX_Putenv function lets you change environment variables.
Prototype
Code Block | ||
---|---|---|
| ||
LMX_STATUS LMX_Putenv |
...
( const char *szEnvironmentVariable ); |
Parameters
szEnvironmentVariable
[in] Environment variable name and value, in the format "name=value" (identical to the C API putenv() function).
...
This function should be used instead of using functions such as putenv or unsetenv.
Example:
Code Block | ||
---|---|---|
| ||
LMX_Putenv("LMX_LICENSE_PATH=local_license.lic"); |