Forum: Programmieren allgemein
by shmia,
18. Sep 2006
Hier nochmal der richtige Code zum Auslesen des Profilverzeichnisses:
interface
function GetProfilesDirectoryA(lpProfilesDir: LPSTR; var lpcchSize: DWORD): BOOL; stdcall;
{$EXTERNALSYM GetProfilesDirectoryA}
function GetProfilesDirectoryW(lpProfilesDir: LPWSTR; var lpcchSize: DWORD): BOOL; stdcall;
{$EXTERNALSYM GetProfilesDirectoryW}
function GetProfilesDirectory(lpProfilesDir: LPTSTR;...
Forum: Programmieren allgemein
by shmia,
15. Sep 2006
Wie wär's damit:
BOOL GetProfilesDirectory(
LPTSTR lpProfilesDir,
LPDWORD lpcchSize
);
Requires Windows XP, Windows 2000 Professional, or Windows NT Workstation 4.0