works with egcs, run time error with 2.95.2

Peter Davis pdavis@wxs.nl
Wed Jun 28 09:10:00 GMT 2000


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



More information about the Cygwin mailing list