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

Re: GTK-Function with pathnamestring???



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]