3 ms·
To me, closely following the standards for Windows means less code and in particular less code that introduces edge cases for the sake of edge cases.
by brudgers 11y ago
To me, closely following the standards for Windows means less code and in particular less code that introduces edge cases for the sake of edge cases.
- brazzledazzle 11y agoIs "installing only to C:\" an actual Windows standard? I'm fairly certain Windows doesn't have a problem installing software to different drives.
- brudgers 11y agoPer the article Occulus installs to C:\program files(x86)\ and that is the standard location for 32 bit (x86) program installation on Windows 64 bit systems. Many, but not all programs [obviously] can be installed at non-standard locations. See Installer and Logo Certification Requirement 2.4 here: https://msdn.microsoft.com/en-us/library/windows/desktop/aa372825(v=vs.85).aspx https://msdn.microsoft.com/en-us/library/windows/desktop/aa3...
- imron 11y agoIt's not standard - at least not per any official MS documentation. There are specific API calls you are supposed to make to query the program files directory, which will be different depending on whether you are a 32bit or 64bit program, and where the user/administrator has configured the program files folder to be. This is also like windows programming 101, so I'm honestly a bit shocked to see oculus dropping the ball on this.
- cnvogel 11y agoSpecifically https://msdn.microsoft.com/en-us/library/windows/desktop/bb762188(v=vs.85).aspx https://msdn.microsoft.com/en-us/library/windows/desktop/bb7... https://code.msdn.microsoft.com/windowsapps/CppShellKnownFolders-7df114ad https://code.msdn.microsoft.com/windowsapps/CppShellKnownFol... hr = SHGetKnownFolderPath(FOLDERID_ProgramFiles, 0, NULL, &pszPath);