• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Invalid pathname for executable

Kirby

Lifer
i'm writing an end of the year project for my high school c++ class, and i can compile my code, but when i try to run it, i get an error message "Invalid pathname for executable". I'm at my wits end. I'm using Borland 5.02 and doing BGI stuff, if it helps. I ran it two days before, then changed something minor, like a rectangle or something. anyway, i don't remember the specific details that i changed, so i can't go back. please, for gods sake, help me.
 
it has been writing to the bgi folder C:\BC5\BGI, and plus i created another project and told it to write there and i still get the same message. if anybody is willing, i'll email the program to you.
 
1) Are you running from within the IDE?

2) If you have copied a project, then the settings may still be pointing to a different directory when the executable does not exist.
 
1) i think so
2) i know that it is pointing to the right directory b/c the new project i made has the exec in the right folder
 
do what I would do with Microsoft C++, copy and paste the code to a text file, start a new project, copy and paste the code from the text file into the new project.
 
Or just run the executable by hand after compiling it in the IDE, it's probbaly not worth fighting with such an old, POS IDE.
 
Back
Top