Autor Beitrag
ao
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 145

Win XP Prof.
D7 Ent.
BeitragVerfasst: Mi 21.08.02 17:07 
Hallo!

Wie kann ich "totsicher" und in allen Windows-Versionen ab 95 das Windows-System-Verzeichnis ermitteln? Danke schon mal!

Gruß
Andreas
DeCodeGuru
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: Mi 21.08.02 17:48 
Zitat:
UINT GetWindowsDirectory(

LPTSTR lpBuffer, // address of buffer for Windows directory
UINT uSize // size of directory buffer
);


Damit gehts :wink:

_________________
Viele Grüße
Jakob
ao Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 145

Win XP Prof.
D7 Ent.
BeitragVerfasst: Mi 21.08.02 22:00 
Hallo DeCodeGuru,

ich meinte zwar das System-Verzeichnis aber das war dann nicht mehr schwer abzuleiten ... (GetSystemDirectory) :wink: Ich hoffe das funktioniert auch für alle Win-Versionen, hatte da mal schlechte erfahrung mit den API-Verzeichnis-Zeug. :wink: Danke.

Gruß
Andreas
DeCodeGuru
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: Do 22.08.02 16:49 
oh, ich habe das System überlesen gehabt. Tut mir sorry :mrgreen:

Ansonsten wüsste ich noch
Zitat:
UINT GetSystemDirectory(
LPTSTR lpBuffer, // buffer for system directory
UINT uSize // size of directory buffer
);

:mrgreen:

_________________
Viele Grüße
Jakob