Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <000901bfe11b$b4e471a0$86ec79c3@beneden>
From: "Peter Davis" <pdavis@wxs.nl>
To: <cygwin@sourceware.cygnus.com>
Subject: works with egcs, run time error with 2.95.2
Date: Wed, 28 Jun 2000 18:12:49 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200

I have a programme that runs fine under Mingw32 egcs 1.1.2, but with Mingw32
gcc 2.95.2 gives a runtime error at one particular place, when I execute the
following statement in a loop:
  MoveWindow(hwndPropText[iI],xPosn-45,yPosn-3,40,18,TRUE) ;

I'm certain that all the variables (hwndPropText, iI, xPosn and yPosn) are
defined (in a header file), valid and not
written over (and after all, it does work with egcs).

Is it possibe, as has been suggested to me, that the programme is running
out of memory. If so:
(1) can I check this? (I have seen a reference to a function stackavail(),
but this dosen't seem to be available in Mingw32), and
(2) what can I do about it? (my programme isn't that hugh!).

Best wishes

Peter Davis     | e-mail pdavis@wxs.nl
Zeist           | Frigate simulator for Windows 95/98/NT:
The Netherlands | http://home.wxs.nl/~pdavis/



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

