------------
De sources van NLDDanyUtils zijn te vinden in:
ftp://ftp.nldelphi.com/public/OpenSo.../NLDDanyUtils/
------------
Deze unit bevat een aantal functies die "speciale" en/of veel gebruikte directories teruggeven als functieresultaat.
De functie "GetSpecialFolderPath" is verhuisd van de unit "NLDShortcuts" naar deze unit om een los gebruik mogelijk te maken.
De interface is:
Code:
function AppStartupDirectory(const IncludeBackSlash: boolean = true): string;
// Returns the directory in which the application started, with or without trailing backslash
function AppExeFileDirectory(const IncludeBackSlash: boolean = true): string;
// Returns the directory in which the application EXE file resides, with or without trailing backslash
function CurrentDirectory(const IncludeBackSlash: boolean = true): string;
// Returns the current directory, with or without trailing backslash
function GetSpecialFolderPath(Location: TLocationType; StartMenuFolder: string = ''): string;
Veel plezier.
Bookmarks