N
Najd
Hi All,
I'm developping a DLL that requiers the path of the Temp directory of
the user logged. I used GetTempPath(), GetEnvironmentVariable() and
ExpandEnvironmentStrings(), but the 3 methodes returns the system temp
path: "C:\WINDOWS\Temp".
Did someone have another method or can explain me why it returns this
path instead of the user path "C:\Documents and Settings\user\local
settings\Temp".
Note:
When I used this 3 methods returns the right path in a Win32 console
application ?
I'm developping a DLL that requiers the path of the Temp directory of
the user logged. I used GetTempPath(), GetEnvironmentVariable() and
ExpandEnvironmentStrings(), but the 3 methodes returns the system temp
path: "C:\WINDOWS\Temp".
Did someone have another method or can explain me why it returns this
path instead of the user path "C:\Documents and Settings\user\local
settings\Temp".
Note:
When I used this 3 methods returns the right path in a Win32 console
application ?