You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you suggested, I rewrote it to call the new function (i.e. SHGetKnownFolderPath) first.
And when it fails (it will on pre-Vista), the old function is called.
It seems to be working on Windows 7, but I don't have pre-vista Windows machine to test the fallback behavior, unfortunately.
So, I would appreciate if you (or someone who has some spare time) could test the latest 1.0.2-SNAPSHOT on pre-Vista OS.
If you use Maven, add the snapshot repository to the pom.xml...
Sadly, I haven't a machine with a pre-Vista Windows OS, so, I can't able to test the library. A good solution is to mantain the old code for fallback and use it if the OS is pre-Vista. If the rewrite use this fallback, test is optional
As reported in http://msdn.microsoft.com/en-us/library/bb762181%28VS.85%29.aspx, the function is deprecated. Please, consider to change with new method or, better, validating the environment variables (here you can view a summary this: https://stackoverflow.com/a/39868933/5695585)
The text was updated successfully, but these errors were encountered: