Forum: Sonstige Fragen zu Delphi
Delphi
by DeddyH,
21. Apr 2010
Bevor das jetzt wieder so ein Endlosthread wird:
uses SHFolder, ShlObj;
function AllUsersAutostart: string;
begin
SetLength(Result,MAX_PATH);
SHGetFolderPath(0,CSIDL_COMMON_STARTUP,0,0,PChar(Result));
SetLength(Result,StrLen(PChar(Result)));
if Result <> '' then
Result := IncludeTrailingPathDelimiter(Result);
Forum: Sonstige Fragen zu Delphi
Delphi
by DeddyH,
21. Apr 2010
Es gibt ja auch noch die Forensuche bzw. die Referenz: SHGetFolderPath
Forum: Sonstige Fragen zu Delphi
Delphi
by DeddyH,
21. Apr 2010
Schau Dir mal SHGetFolderPath und dort die CSIDL_COMMON_STARTUP an.