Re: GTK-Function with pathnamestring???



                        Hello, Waldek !

On Wed, Oct 08, 2003 at 07:15:00AM +0200, Waldek Maleska wrote:
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.

If done so, then your executable path will be absolute.

Of course, argv[0] is "rather" always executable's name.

This is correct.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]