Re: GTK-Function with pathnamestring???
- From: Waldek Maleska <progss interia pl>
- To: "Pawel S. Veselov" <Pawel Veselov Sun COM>
- Cc: Christian Schneider <christian_schneider_2000 yahoo de>, gtk-app-devel-list gnome org
- Subject: Re: GTK-Function with pathnamestring???
- Date: Wed, 08 Oct 2003 07:15:00 +0200
Pawel S. Veselov wrote:
> Hello, Christian !
>
> [ This is not GTK ]
>
> argv[0] is always a pointer to a executable. If it's relative, use
getcwd(),
> to append to get full pathname.
AFAIK, it's not always right. In Window$ you can use another
working directory - e.g. in a link you can set WD to whatever you
want to. Of course, argv[0] is "rather" always executable's name.
Waldek
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]