Re: Let me elaborate (Re: [AD] Problem with Windows XP + MinGW + alegro (windowed)) |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
In reply to Eric Botcazou <ebotcazou@xxxxxxxxxx>: [snip - cannot call ExitProcess from within DLL] >Does anyone know how to work around this limitation with the Win32 API ? Well, the generated WinMain() function is not part of the DLL, is it? It's actually the main thread, right? If so, can we not send it a message, or get it to poll a flag, and call ExitProcess() if the user has closed the program? Bye for now, -- Laurence Withers, lwithers@xxxxxxxxxx http://www.lwithers.demon.co.uk/
Attachment:
signature.asc
Description: PGP signature
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |