Project: System Information Unit.
Unit: PJSysInfo.
Class: TPJSystemFolders
Applies to: ~>5.0
class function CommonFilesRedirect: string;
Returns the fully qualified path name of the Common Files folder, taking into account any redirection for 32 bit programs running on 64 bit Windows.
The return value will be the same as one of the CommonFiles or CommonFilesX86 methods as follows:
Operating System | Application | Return Value |
---|---|---|
32 bit Windows | 32 bit | CommonFiles |
64 bit Windows | 32 bit | CommonFilesX86 |
64 bit Windows | 64 bit | CommonFiles |