G Guest Oct 18, 2004 #1 How can I find the Program Files directory, independent of the language of Windows version ? Thanks, Elga.
How can I find the Program Files directory, independent of the language of Windows version ? Thanks, Elga.
J Jochen Kalmbach Oct 18, 2004 #2 =?Utf-8?B?RWxnYQ==?= said: How can I find the Program Files directory, independent of the language of Windows version ? Click to expand... SHGetFolderPath with CSIDL_PROGRAM_FILES http://msdn.microsoft.com/library/en- us/shellcc/platform/shell/reference/functions/shgetfolderpath.asp SHGetSpecialFolderPath with CSIDL_PROGRAM_FILES http://msdn.microsoft.com/library/en- us/shellcc/platform/shell/reference/functions/shgetspecialfolderpath.asp GetEnvironmentVariable with "ProgramFiles" http://msdn.microsoft.com/library/en- us/dllproc/base/getenvironmentvariable.asp getenv with "ProgramFiles" http://msdn.microsoft.com/library/en-us/vclib/html/_crt_getenv.2c_. _wgetenv.asp -- Greetings Jochen My blog about Win32 and .NET http://blog.kalmbachnet.de/
=?Utf-8?B?RWxnYQ==?= said: How can I find the Program Files directory, independent of the language of Windows version ? Click to expand... SHGetFolderPath with CSIDL_PROGRAM_FILES http://msdn.microsoft.com/library/en- us/shellcc/platform/shell/reference/functions/shgetfolderpath.asp SHGetSpecialFolderPath with CSIDL_PROGRAM_FILES http://msdn.microsoft.com/library/en- us/shellcc/platform/shell/reference/functions/shgetspecialfolderpath.asp GetEnvironmentVariable with "ProgramFiles" http://msdn.microsoft.com/library/en- us/dllproc/base/getenvironmentvariable.asp getenv with "ProgramFiles" http://msdn.microsoft.com/library/en-us/vclib/html/_crt_getenv.2c_. _wgetenv.asp -- Greetings Jochen My blog about Win32 and .NET http://blog.kalmbachnet.de/