954,496 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Setting "start in" directory for Visual C++ Express

I can't find, within my project directories, any option to specify where I want my .exe to start in. I want to do this for that sake of .dll and other file references. Any help?

death_oclock
Posting Whiz
393 posts since Apr 2006
Reputation Points: 129
Solved Threads: 45
 

Look under:
Project Menu/Properties/Configuration Properties/General/Output Directory

I think this is to what you are referring.

Also see Project Menu/Properties/Configuration Properties/Debugging/Working Directory

I'm not sure what the exact distinction between those two is, but the latter might let you just specify the directory for the dlls without having to spawn the exe there.

jonsca
Quantitative Phrenologist
Team Colleague
5,621 posts since Sep 2009
Reputation Points: 1,165
Solved Threads: 581
 

Thanks, the "working directory" option was the one I was looking for.

death_oclock
Posting Whiz
393 posts since Apr 2006
Reputation Points: 129
Solved Threads: 45
 
Thanks, the "working directory" option was the one I was looking for.

You can also set the Environment and turn on Merge Environment so that you don't have to copy all the .dll to your working directory.

In Environment type in:

Path=$(PATH);c:\my\dll\directoy\;d:\another\dll\directory;
jakesee
Junior Poster
130 posts since Jul 2008
Reputation Points: 21
Solved Threads: 5
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You