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

Comments

  1. Maybe it should be

    TPath.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)

    ReplyDelete
  2. I don't seek help :-)
    I'm just asking whether the description of this method in the documentation is correct.

    https://snap.ashampoo.com/uploads/2016-06-30/rFGAPRUJ.png

    ReplyDelete
  3. 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

Post a Comment