Re: gtk win32 and env variables
- From: John Cupitt <jcupitt gmail com>
- Cc: Dan McMahill <mcmahill mtl mit edu>, gtk-app-devel-list gnome org
- Subject: Re: gtk win32 and env variables
- Date: Sat, 5 Nov 2005 17:11:16 +0000
On 11/5/05, David Necas (Yeti) <yeti physics muni cz> wrote:
On Sat, Nov 05, 2005 at 03:40:40PM +0100, Goran Rakić wrote:
Put this first:
... (some win32 registry code) ...
Or have a look at g_win32_get_package_installation_directory().
Very neat. Another solution for applications is to look at argv[0]. On
Windows this is always (I think) the full path to the .exe. On *nix
you need to search $PATH (including relative paths): there's
g_find_program_in_path() to help there.
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]