Overview
Features
Download
Documentation
Community
Add-Ons & Services

Executable path

Please post support and help requests here.

Executable path

Postby simonjoyner » 03 Jan 2010, 03:16

What is the easiest way to get a Path to the directory my executable is in?

Note that I'm not currently using the Application class as this is a plugin.

Thanks
simonjoyner
 
Posts: 13
Joined: 17 Feb 2009, 09:24

Re: Executable path

Postby fbraem » 03 Jan 2010, 20:45

When you use the Util library it is as simple as this:

Code: Select all
    Poco::Path applicationPath(config().getString("application.dir"));


Maybe you check the Util library and see how application.dir is filled?
Zumuta!, that's the way to do IT!
fbraem
 
Posts: 112
Joined: 11 Aug 2008, 22:47
Location: Belgium

Re: Executable path

Postby simonjoyner » 03 Jan 2010, 22:14

Ah yes, found it.

Thanks.
simonjoyner
 
Posts: 13
Joined: 17 Feb 2009, 09:24


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron