News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

How to set "Host application" working directory?

Started by samtheeagle, May 12, 2005, 06:58:32 PM

Previous topic - Next topic

samtheeagle

Hi,

I'm trying to debug a DLL, and so I've setup a host application in the projects execution parameters. When I start debugging (I'm using GDB 6.3) the exe I specified starts up ok, but it doesn't work properly as it's working directory is not being set. Basically the exe I startup can't find the files it needs, I'm guessing that it's because the process has inherited it's working directory from Codeblocks?

For your information the DLL I'm trying to debug is:

C:\Orbiter\Orbitersdk\samples\ShuttlePB\Debug\ShuttlePB.dll

And the host application exe is set to:

C:\Orbiter\orbiter.exe

Can anyone tell me how I can specify the working directory for the debug session?

Cheers in advance.

mandrav

The "working directory" target option in project properties doesn't work?

Yiannis.
Be patient!
This bug will be fixed soon...

Anonymous

I'm afraid not. For whatever reason it is disabled. It only seems to be enabled when the build target is GUI EXE or Console EXE. As I wish to build to a DLL I am unable to set the property :(

Any ideas?

mandrav

QuoteAny ideas?
Yes. Submit a detailed bug-report and it might just make it into the next release (planned for this weekend).

Yiannis.
Be patient!
This bug will be fixed soon...