Re: GLib 2.2.0, GTK+ 2.2.0

Tor Lillqvist <[email protected]>
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
"alex_shaduri <[email protected]>" <[email protected]> writes:
 > The registry keys are (both will do):
 > HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\, value 'Personal'
 > and
 > HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\, value 'Personal'.

Hmm yes. I guess this is what SHGetSpecialFolderPath (...,
CSIDL_PERSONAL, ...) returns? But I wonder what this comment (from the
PSDK documentation) means: "This should be distinguished from the
virtual My Documents folder in the namespace. To access that virtual
folder, use the technique described in Managing the File System."
What's a "virtual folder"? Argh, this gets complicated... Unix's HOME
concept is so easy...

 > btw, is there any way to get some registry data through glib? I
 > know about g_win32_get_package_installation_directory(), but it
 > only searches at the specific location.

Nope. You have to use the Win32 API. GLib doesn't contain
functionality that would be useful on only one platform.

--tml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.