always returns "C:\Program Files (86)\"
but I want somethhing like that
because this operating system have both directories.
so I did a small function :
function GetSpecialFolder2(AFolder: TSpecialFolder): string;
_ret := '';
Result := _ret;
"C:\Program Files (86)\"
what causes me to not to Retrieve Correct Program Files Directory ? ("C:\Program Files\")
how can I fix this problem ?
(Operating System is Windows Seven x64)
returns correct directory for x64 programs installed
may you integrate this into madshell ?
http://msdn.microsoft.com/en-us/library ... 85%29.aspx
Supporting this would probably require me to rewrite the whole "special folder" stuff in madShell. I'd like to do that, but I don't really have the time at the moment.
FWIW, sfProgramFiles is officially supposed to return "C:\Program Files (x86)". And "sfProgramFilesX86" is officially supposed to work only for RISC systems.