> I do not have my Windows API book with me, but does GetEnv.. return a Long
> Int or an Int. If it is a long it you could be in trouble with MapInfo.
getenv returns char *, GetEnvironmentVariable returns DWORD (ie 32 bit
unsigned int)
DWORD GetEnvironmentVariable(
LPCTSTR lpName, // environment variable name
LPTSTR lpBuffer, // buffer for variable value
DWORD nSize // size of buffer
);
Hope this helps.
--
Sean Kennedy
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]