www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/24/22:29:09

Date: Tue, 24 Feb 1998 16:48:17 -0800 (PST)
Message-Id: <199802250048.QAA28492@adit.ap.net>
Mime-Version: 1.0
To: mikewilliams3 AT mci2000 DOT com, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: [Fwd: HELP!!!!]

At 01:10  2/24/1998 -0700, Mike Williams wrote:

> Thanks for the input..now I hope you can help again. If I compile and run the
>program, it works from within rhide,as before, but as soon as it has run, the
>bottom window has the following message:-
>permission denied (EACCESS)
>no errors
>As Christian (ChrHenz AT aol DOT com) and you  suggested earlier, I have experimented
>with using "int main()" instead of the original "void main()" as  instructed by
>the rather silly C for Dummies book from which I'm trying to learn C.
>Unfortunately, the office budget will not run to a "proper" book  Also,
>including the "return 0;" statement took care of the exit error problem. I
still
>can't get the blasted thing to run outside Rhide, though...still the "too
big to
>load" error. Something else I noticed is that if I try to run it from within
>Win95, instead of opening a DOS window, as other DOS files do, it says "this is
>not a valid win32 program"
>    None of these errors are fatal, or anything, because I'm still learning C,
>and as long as they work from within Rhide, I know the source code is working.
>It's just that once I start writing "real" programs, it would be nice if they
>would actually run independently! Still, at the rate I'm progressing, that day
>is still a long way off, however eager my boss is that I start editing some
>applications!

Uhm, okay. The fact that it doesn't work except from RHIDE worries me. Try
the following:
* Reinstall the djdev201.zip package. The "too big" and "not valid" messages
suggest to me that the EXE stub has been corrupted somehow.
* Reinstall the bnu*b.zip (Binutils) package. It has other copies of the
stub which may also be corrupted.
* Post an RHIDE bug report.
* Send to ME (NOT the list) the source file, the EXE file produced, and the
options you use to compile.

Btw, please try to stop your mailer from including an HTML copy of your
post. It wastes bandwidth and is rather annoying.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019