Forum: Win32/Win64 API (native code)
Delphi
by Luckie,
21. Dez 2010
Deswegen lösche ich ja auch die Datei vorher, falls sie existiert.
Forum: Win32/Win64 API (native code)
Delphi
by Luckie,
21. Dez 2010
Doch es hilft uns weiter, weil wir jetzt mal eine gescheite Fehlermeldung haben.
Forum: Win32/Win64 API (native code)
Delphi
by Luckie,
21. Dez 2010
Dann machen wir es doch mal richtig, dann bekommt man auch einigermaßen gescheite Fehlermeldungen:
uses
Registry;
const
REGPATH = '\Software\Microsoft\Windows\Shell\Bags\1\Desktop';
FILENAME = 'd:\test.txt';
procedure SaveDesktopIconsFromRegistry(const FileName: string);
var