Re: [AD] Doc perusing

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


On 2004-10-03, Michal Molhanec <michal@xxxxxxxxxx> wrote:
> Grzegorz Adam Hankiewicz wrote:
> >>Is it alright to call allegro_message if allegro_init fails
> >>like that?
> >
> >Yes. Otherwise it would be useless.
> 
> hmmm. i've just found that if i call allegro_message before
> calling allegro_init() it does not work on windows (because the
> system_driver variable isn't set it wrotes it to stdout which
> is not displayed in nonconsole programs). see exbitmap. if it
> is expected behaviour than the exbitmap should be fixed and it
> should be documented

Ah, very interesting indeed. And I think we can't go with calling
install_allegro(SYSTEM_NONE, ...) inside allegro_message because
of the errno/atexit variables. Suggestions?




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