Hi all,
I'd like to retrieve the Public folder on Vista or the corresponding one o Xp, is there a way to do that with Qt? something like QDir::home ()?
Or do I have to resort to Windows API?
thanks in advance
bye
Hi all,
I'd like to retrieve the Public folder on Vista or the corresponding one o Xp, is there a way to do that with Qt? something like QDir::home ()?
Or do I have to resort to Windows API?
thanks in advance
bye
You must refer to the %PUBLIC% environment variable.
You could use QProcess::systemEnvironment to get a list of env vars.
The you can parse that list and find the public folder.
Also, here is a list of shell folders for Vista and XP:
http://www.digitalinsane.com/archive...shell_folders/
Regards
Lele (26th July 2007)
Bookmarks