[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Binary location
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-03-29 13:13:11
[Download RAW message or body]

On Wed, Mar 29, 2000 at 03:39:20PM +0200, Simon Hausmann wrote:
> 
> argv[0] ? :)
> 

Or KStdDirs::findExe(), if from another app.

> On Wed, 29 Mar 2000, Hummel, Timo wrote:
> 
> > Hi,
> > 
> > for the crash handler I need to get out where the binary of an application
> > resides. For example, when I launch /usr/bin/test, the application should
> > get out where it is (in /usr/bin, filename test in this example). How do I
> > do that?
> > 
> > Thanks
> > Timo
> > 
> > -----
> > only one day to the freeze...urgh .)
> > 

-- 
David FAURE
david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic