www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/01/14:07:05

From: "Peter Davis" <pdavis AT wxs DOT nl>
Newsgroups: comp.os.msdos.djgpp
Subject: RSXIDE memory problem?
Date: Mon, 1 Feb 1999 19:57:13 +0100
Organization: World Access / Planet Internet
Lines: 18
Message-ID: <794tg6$sp2$1@reader2.wxs.nl>
NNTP-Posting-Host: ut0250-0.dial.wxs.nl
X-Trace: reader2.wxs.nl 917895494 29474 195.121.72.250 (1 Feb 1999 18:58:14 GMT)
X-Complaints-To: abuse AT wxs DOT nl
NNTP-Posting-Date: 1 Feb 1999 18:58:14 GMT
X-Newsreader: Microsoft Outlook Express 4.72.2106.4
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

One of the sample programmes in Charles Petzold's book "Programming Windows
95" (through which I am currently working my way) uses an array of POINT
structures <POINT pt [NUM] ;> to draw a graph with >Polyline (hdc, pt NUM)
;>

He sets NUM to 1000 and the (Visual C) .exe file he provides works for me.
If however I compile the .c file with RSXIDE, I get a fatal error upon
execution (the one that advises you to contact the supplier if the problem
persists) if NUM is greater that about 500; lower values work fine.

Am I doing something wrong?

Peter Davis
Zeist
The Netherlands



- Raw text -


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