U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » SetEnv()
SetEnv() [message #37243] Tue, 11 September 2012 10:28 Go to previous message
koldo is currently offline  koldo
Messages: 3458
Registered: August 2008
Senior Veteran
Hello Mirek

I could not find a setenv function. This could be an implementation:
bool SetEnv(const char *id, const char *val) 
{
#ifdef PLATFORM_POSIX
	return setenv(id, val, 1) == 0;
#else
	return _wputenv(WString(id) + "=" + WString(val)) == 0;
#endif
}


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: build Core to static library problem:Value.cpp | 168 | note:type was declared here
Next Topic: LocalProcess to read from stderr
Goto Forum:
  


Current Time: Sat May 02 15:01:20 GMT+2 2026

Total time taken to generate the page: 0.00514 seconds