delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/01/14:21:34

Date: Tue, 1 Jul 1997 11:19:13 -0700 (PDT)
Message-Id: <199707011819.LAA18752@adit.ap.net>
Mime-Version: 1.0
To: pohlmann AT sed DOT stel DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: HELP!
Cc: djgpp AT delorie DOT com

You wrote:
>I was wondering if anyone could tell me something that might help me 
>solve my problem.  I am trying to run it on a Pentium PC using 
>DJGPP through the MSDOS prompt of Windows.  My problem is that when I 
>try to run the executable file for my program, I get a window that 
>says that there has been a memory violation and to restart my 
>computer.  My program compiles fine and runs perfectly on UNIX 
>machines so I don't think that there is a code problem.
>
>I have attached a dump of go32, environ.1st and symify.  

Your `dumpfile' file appeared to actually be a directory listing and an
invocation of Symify. This isn't a lot of help.

Also, please post text-type files here as text. When you use your mailer's
`attach' feature, it uuencodes it. Many people won't take the time to decode
it, so you'll get less help. You may need to do a copy/paste type thing. But
what you want is the plain text included in the mail.

>
>Any advice or comments would be appreciated :)
>

Okay, here are some.
- Try running it under DOS. CWSDPMI may have some more intelligent things to
say about your problem than Windows 3.1's DPMI server.

- Try to narrow down where the problem is. Either start removing pieces of
code until the problem goes away, or work through with a debugger. (Note:
you will have to debug under DOS.)

- If you don't find a bug, post your source and the symify output here (not
uuencoded). Looking at your dir listing, it seems the source is moderately
large, so please try to isolate the offending portion first.

HTH

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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