delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/01/20/04:37:29

Date: Fri, 20 Jan 95 04:02:50 EST
To: heasleka AT ptbma DOT usbm DOT gov
Subject: Re: program crashes with mouse movement?
From: pfulmek AT pop DOT tuwien DOT ac DOT at (Paul FULMEK)
Reply-To: pfulmek AT pop DOT tuwien DOT ac DOT at
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

>>>I have written a program with a GUI using DJGPP 1.11m5, libgrx1.03m1 and
>>>SUIT from the UVA.  At certain places in the program large data files are
>>>being read or written.  If the mouse is moved sufficiently during one of
>>>these disk writing periods the program crashes.
>>>
>>>The location of the crashs according to symify is:
>>>  _GrP8PixCopy+942
>>>  _GrEraseCursor+60
>>>  _GrMoveCursor+272
>>>  _rawclock+500
>>>  ...
>>>

My program crashes even without any mouse movement. I want to display
some information about the status of my calculations by changing the
picture of the MouseCursor, only (e.g. SetMouseCursor(OKCursor)).
After a while, however, the program crashes:
  _GrP8PixCopy+942
  _GrEraseCursor+60
  _rawclock+419
  _MouseSetCursor+63
  ...
If I simply delete the SetMouseCursor()-commands everything works
OK while the default MouseCursor is displayed.

Paul


--

Technische Universitaet Wien
Institut fuer Werkstoffe der Elektrotechnik
Dipl.-Ing. Paul FULMEK
Tel. (+43 222) 58801/3955
FAX: (+43 222) 50 41 587
Gusshausstrasse 27-29
Austria - 1040 WIEN



- Raw text -


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