Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » A4 Dont create window at all

This thread is locked; no one can reply to it. rss feed Print
A4 Dont create window at all
Aleksa
Member #14,874
January 2013

I want to use allegro library for playing wav file and nothing else. But as my program starts my cmd window goes out of focus to allegro window. Is there any way to disable allegro window?

Eximius
Member #15,901
March 2015

Even though i am new to allegro, the examples seem to contain a no display example named "ex_nodisplay.c".

https://www.allegro.cc/files/

Documentation & Examples
° Examples: Source & Windows Binaries

Aleksa
Member #14,874
January 2013

Im using A4 and I cant find example for that in examples folder of A4.

#00JMP00
Member #14,740
November 2012

What about skipping the windows init part.

Normal behaviour is prompting to command.

Aleksa
Member #14,874
January 2013

All I do is allegro_init and install_sound.

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Aleksa
Member #14,874
January 2013

Thanks! That worked!

Edit: but now sound does not work. What to use instead install_sound(); ?

Go to: