[Dev-C++] Win2K, working directory, bizarre behavior
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Erin M. <em...@po...> - 2004-08-16 16:06:46
|
Hi! New here, glad to meet y'all. I spent about 10 minutes browisng the archives and didn't find any duplicates of my problem, despite a couple related titles. Background: I run Windows 2000; I use Dev-C++ v.4, the 9/21/2000 build. My problem is twofold: 1) When I run my program through the "Execute" command within Dev-C++, it refuses to use the working directory I've given it under "Environment options," and instead appears to use the directory that Dev-C++ itself lives in. (Consequently, it's unable to find the input file it needs, which is in the other directory.) I have checked the box "run file in same directory as executable"; no executable for my program ever appears in the Dev-C++ directory. 2) When I run the same program by double-clicking on its executable within the proper folder, it runs in that directory as instructed. When I delete this executable and recompile through Dev-C++, it puts the executable right back in this proper folder. Anyone have a clue what's going on? Thanks, Erin McMullen |