Get Desktop folder
Joachim Buermann
jbuermann at iftools.com
Mon Nov 6 12:17:23 PST 2006
Hello,
I'm looking for a plattform independent way, to examinate the path of the
user's current desktop folder. The background: My application has to create a
shortcut desktop icon automatically.
On Linux ::wxGetUserHome() extended with "Desktop" should works with Gnome and
KDE, but within windows I'm very confused by the microsoft documentation
about:
SHGetFolderPath(...)
The dll for this function isn't the same on different versions like win98, NT
or XP (shfolder.dll or shell32.dll), and the function has to be loaded
dynamically by the application.
More complicated: Within Windows, the user also can change the desktop folder
name and the folder also depend on the user's language settings.
I didn't found any functionality in the wxWidget API, but maybe I'm
overlooking something.
Thanks for any help on this,
Joachim
More information about the wx-users
mailing list