Mail Archives: djgpp/1999/08/11/08:00:26
S. M. Halloran wrote:
>
> On 5 Aug 99, Burger Rule was found to have commented thusly:
>
> > Hi!
> >
> > When I choose RUN from RHIDE, it opens a window with the title "contens of
> > stderr from ascii.exe " ascii is my program name written in C++(ascii.cpp)
> > In the window it states : "bad command or file name".
> >
> > I look around and noticed that I can disable this STDERR thing in Options
> > -> Enviroment -> Preferences by unchecking it.
> >
> > Now it doesn't gives this window anymore, but when going to the user
> > screen I get the same error -"bad command or file name".
> >
That's because you weren't in the path of ascii.exe, not because
stderr was being redirected. Stderr should always be redirected when
working in RHIDE (there's no reason why not).
> > When I manually run my program from the Dos Prompt, it works perfect.
Did you cd to the program's location when you exited RHIDE?
Before starting RHIDE, you should always cd to the path of where your
compiled executables will be unless you have set up a project. This will
fix the problem.
moogla
- Raw text -