SHGetSpecialFolderPath how to access 64bit CSIDL from 32bit application
Is there a way from a 32-bit application running on a 64-bit system to access the default folders for 64-bit applications?
For example, using SHGetSpecialFolderPath with CSIDL_PROGRAM_FILES from a 32-bit application returns "C: \ Program Files (x86)" If the same call was used from a 64-bit application, I would get "C: \ Program Files". a way to get this "C: \ Program Files" from a 32 bit application?
The related question does not help SHGetFolderPath () 32bit and 64bit and does not reassign wow64 filesystem redirection before calling SHGetSpecialFolderPath
+2
source to share
2 answers