Temp-Ordner
-
Hallo Leute
Ich benutze die funktion getenv("TEMP"), um den Pfad vom Temp-Ordner zu bekommen. Unter Windows NT funktioniert diese Funktion. Unter Windows 2000 liefert es den Pfad auch zurück aber allerdings so "C:\DOKUME~1\...".
Gib es eine andere Funktion, um den Pfad heraus zu bekommen oder kann ich den Pfad "C:\DOKUME~1\..." irgendwie auflösen ?
mfg
funcky
-
Gib es eine andere Funktion, um den Pfad heraus zu bekommen
GetTempPath()
oder kann ich den Pfad "C:\DOKUME~1\..." irgendwie auflösen ?
GetLongPathName()
-
Hallo
Die Funktion GetLongPathName() funktioniert nicht, weil es bei meiner Entwicklungsumgebung
nicht bekannt ist. Was brauch ich dafür ?mfg
asci
-
Ggf. hilft dir das hier:
Windows NT and Windows 95:
Include an additional header file called NewAPIs.h to make GetLongPathName available on these operating systems. The function is not implemented natively, but by a wrapper that utilizes other native functions on these systems. See the header file for details of the use of preprocessor directives that make the function available. If you do not have this header file, it can be obtained by downloading the most recent SDK from the SDK Update Site.