Win32 function to get path to C:\ProgramData

后端 未结 2 445
醉梦人生
醉梦人生 2021-02-07 13:08

My app needs to install some files that can be edited by the application at run time. Install shield provides an alias [CommonAppDataFolder] that will resolve to c:\\programDat

2条回答
  •  Happy的楠姐
    2021-02-07 13:40

    Since Delphi XE5, this functionality is part of the framework.

    • Unit: System.IOUtils
    • Class: TPath
    • Function: GetPublicPath

    See embarcadero docwiki for further informations.

提交回复
热议问题