Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: huzhongshan on March 01, 2011, 05:18:43 AM

Title: how to set host application working directory?
Post by: huzhongshan on March 01, 2011, 05:18:43 AM
I want to debug a windows dll in codeblock using a host application , I find that the default work directory is in the place where project files exists , how can I change the working director to other place , such like bin/Debug.

Is it possible ?
Title: Re: how to set host application working directory?
Post by: Jenna on March 01, 2011, 06:55:28 AM
Quote from: huzhongshan on March 01, 2011, 05:18:43 AM
I want to debug a windows dll in codeblock using a host application , I find that the default work directory is in the place where project files exists , how can I change the working director to other place , such like bin/Debug.

Is it possible ?

"Project -> Properties -> Build targets -> [name of target] -> Execution working dir"
Title: Re: how to set host application working directory?
Post by: huzhongshan on March 01, 2011, 01:50:56 PM
Thanks ,