[AD] [WIN] Minimise crash

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


hey Folks

Whilst debugging my own (crappy) code, I came across an interesting quirk in
the allegro windows code.

Consider the following program

#include <allegro.h>
#include <winalleg.h>

int main(void)
{
	int a;
	allegro_init();
	set_gfx_mode(GFX_AUTODETECT_WINDOWED,320,240,0,0);
	while(!key[KEY_ESC])
	{
		a^=1;
	}
	return 0;
}
END_OF_MAIN();


Simple enough?

When this is run, we are presented with an empty window.

Now, if we try to minimise this window - No problem

Upon trying to minise using windows/m combination, or using the minimise all
shortcut, allegro crashes. A similar thing may happen with alt+tab
combinations.

Any ideas?

Cheers

Mike



This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.Any views or opinions expressed within this transmittal are those of the author and do not necessarily represent those of the member companies of the Polaron Group.
We cannot guarantee this e-mail to be free from computer viruses at this time and it is your responsibility to scan any attachments before downloading them to your system.










Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/