— Steve Lupton skrev: > Hi>
You don’t say what compiler you are using.
If you are using MS Visual C++, go into the project
settings window and in
the linker options replace
/subsystem:console
with
/subsystem:windows
That will get rid of the console window for you.
Steve
-----Original Message-----
From: Anders Lowgren
[mailto:@Anders_Lowgren]
Sent: 20 November 2001 23:59
To: sdl at libsdl.org
Subject: [SDL] How do I make the console window
dissapear
…in Windows that is using SDL?
I’ve tried to find the solution in examples or demos
before but I haven’t found any yet.
ie: Gimp also does that …first it opens a console
window and then the main program.
However, I would like to get rid of this in my own
programs but I would still like to stick to the
standard “main(int argc, char* argv)” solution if
that’s possible?
/Anders
Do You Yahoo!?
se.yahoo.com
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
This email and any files transmitted with it are
confidential and
intended solely for the use of the individual or
entity to whom they
are addressed. If you have received this email in
error please notify
the system manager.
This footnote also confirms that this email message
has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
I just found the answer in the FAQ sorta but thanx
anyway, I was creating a console project ( I thought I
had to because the “main(int argc, char* argv)”
entry ).
It’s correct, I need to create a standard Win32
Application.
That’s what I like the best with SDL so far that the
window stuff is hidden and you can start with the
standard main() and even implement OpenGL without
having to write a full page of init and register
Window stuff before.
The documentation in the headers are excellent too as
you can find what you want right there most of the
time.
/Anders
Do You Yahoo!?