Mail Archives: djgpp/1998/05/09/18:18:04
Gillepileptic writes:
>It all works okay until I want to re-enter my programme after GB97 has
>finished: I can get the screen redrawn, the mouse pointer showing etc,
>but it's just locked: The mouse won't update. I know it's actually
>going through the main programme loop, because the ESC key still works
>to exit.
Doing a complete shutdown and then reinit of the entire Allegro system
is semi-untested ground: it should work, but not many people do this so
there are likely to be subtle bugs.
The grabber actually does just such a thing when you use the "Shell
Edit" command to invoke an external editing tool: does that work on your
machine? If so, you may wish to take a look at the code used for that.
Alternatively, try to post a short example of some code which is
supposed to shut down Allegro, invoke this program, and then reinit the
library. Nobody can tell you how to fix the code unless you show us what
you are currently doing...
>Also, a few quickies:
>1) My executable is nearly 500k!
See the djgpp FAQ section 8.15, and the "Reducing your executable size"
section of the Allegro docs.
--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
"Miracles are nothing if you've got the wrong intentions" - Mike Keneally
- Raw text -