Re: gtk win32 and env variables
- From: Eduardo M KALINOWSKI <ekalin bol com br>
- To: gtk-app-devel-list gnome org
- Subject: Re: gtk win32 and env variables
- Date: Sat, 05 Nov 2005 15:25:20 -0200
David Necas (Yeti) wrote:
Or have a look at g_win32_get_package_installation_directory().
Calling it with NULL arguments is usually sufficient. *Not*
storing the directory in registry has the advantage the app
can be moved around freely without breaking it (of course,
if it's not prevented by other factors).
Or, if for some reason you can't/don't want to use glib, use the Windows
function GetModuleFileName().
--
Buckle up!
Eduardo M KALINOWSKI
ekalin bol com br
http://move.to/hpkb
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]