Hallo
Nochmals danke für die gute Hilfe.
Ich habe jetzt dein aufruf umgebogen auf folgendes:
Code: Select all
SHGetSpecialFolderLocation Me.hwnd, CSIDL_BITBUCKET, pIDLRecycleBin
Funktioniert gut. Das Sample gibt jetzt nach deiner Änderung auch den wirklichen Pfad aus. D.h. es funktioniert jetzt auf allen Systemen (98,ME,2000,XP).
Nevertheless, there's a little bug :'( ... Unter Win 98 zeigt er mir nicht den Pfad an, sondern lediglich den Namen der Dateien. Aber nicht mal den wirklichen Namen, sondern der ehemalige Filename.
Also ich habe drin z.B. eine Verknüpfung Internet Verbindung erstellen, dann zeigt er mir einfach den Namen an. Wie kann ich auch unter Win 98 noch den Pfad erhalten?
Danke schonmal
Mfg
Laurin
[hr]
Translation for visitors not speaking German:
Hello
again thanks for the great help.
I've changed your code to:
Code: Select all
SHGetSpecialFolderLocation Me.hwnd, CSIDL_BITBUCKET, pIDLRecycleBin
Works well. Also after your change, the sample gives me the real paths now. IOW, it's working on all systems now (98,ME,2000,XP).
Nevertheless, there's a little bug :'( ... On Win 98 I don't get the path, but the filename only - but not even the real (current) name, but the file's old name.
So, let's say there's a link "Internet Verbindung erstellen" - the sample will give me exactly this name. How can I get the real name on Win 98, too?
Thanks in advance
Kind regards
Laurin