Is this method returns the correct value in the case of Windows?
Is this method returns the correct value in the case of Windows?
https://snap.ashampoo.com/uploads/2016-06-30/rFGAPRUJ.png
http://docwiki.embarcadero.com/Libraries/Berlin/en/System.IOUtils.TPath.GetLibraryPath
http://docwiki.embarcadero.com/Libraries/Berlin/en/System.IOUtils.TPath.GetLibraryPath
https://snap.ashampoo.com/uploads/2016-06-30/rFGAPRUJ.png
http://docwiki.embarcadero.com/Libraries/Berlin/en/System.IOUtils.TPath.GetLibraryPath
http://docwiki.embarcadero.com/Libraries/Berlin/en/System.IOUtils.TPath.GetLibraryPath
Maybe it should be
ReplyDeleteTPath.GetLibraryPath
Windows: C:\Users\\AppData\Roaming
OSX: /Users//Library
TPath.GetHomePath
Windows: C:\Users\
OSX: /Users/
to have the corresponding directories on the platforms. Well the documentation text should be updated also.
I would also say Windows C:\ProgramData is equal to OSX /Library and could be accessed by TPath.GetSharedLibrary (or any better name)
I don't seek help :-)
ReplyDeleteI'm just asking whether the description of this method in the documentation is correct.
https://snap.ashampoo.com/uploads/2016-06-30/rFGAPRUJ.png
Jacek Laskowski Just goes to show how important it is to ask the right questions. Other people will not be aware of the context of the questions we ask, unless we tell them.
ReplyDelete