Re: [AD] faq entry

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


It seems good except for:

If you are using command line than is this specified: by the /subsystem:windows flag for the MSVC linker, by the -tW flag for the Borland C++ command line compiler or by the -mwindows flag for the MinGW or CygWin compiler.

The first line is missing a word or two. And the noted lines could possibly be reformatted slightly.

   Hello,
I've tried to make new version of the answer:

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- cut here -=-=-=-=-=-=
Make sure you're building a Windows GUI Application, and not
a Windows Console Application.

If you are using an IDE (like MSVC, Dev-C++ or Borland C++ Builder)
than is this typically set when you create new project. In already
created project you can change it in project settings:
in MSVC 6:  go to Project\Settings\Link tab and find in
            the Project Options box "/subsystem:console"
            and change it to "/subsystem:windows"
in Dev-C++: go to Project\Project Options and in
            the Type box change value from Win32 Console
            to Win32 GUI

If you are using command line than is this specified:
by the /subsystem:windows flag for the MSVC linker,
by the -tW flag for the Borland C++ command line compiler or
by the -mwindows flag for the MinGW or CygWin compiler.

Either that, or define the preprocessor symbol ALLEGRO_USE_CONSOLE
prior to including Allegro headers if you really need the console
for your program.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- cut here

_________________________________________________________________
Frustrated with dial-up? Get high-speed for as low as $26.95. https://broadband.msn.com (Prices may vary by service area.)





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