This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

works with egcs, run time error with 2.95.2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]