http://msdn.microsoft.com/library/en...asp?frame=true
http://www.win-api.de/tutorials.php?tutid=3
mit winmain könntest du sowas machen...
eine eingabeaufforderung kommt nur deshalb zum vorschein, weil du als startfunktion main() verwendest. dies wird von windows nicht direkt aufgerufen, sondern nur über die konsole.
winmain allerdings wird direkt von windows aufgerufen... kannst es ja mal versuchen
greetz
edit: yepp bei mingw gibts dazu einen switch
auszug aus: http://www.mingw.org/docs.shtml
Code:
gcc -o hello hello.o -mwindows
This creates an executable hello.exe from hello.o The -mwindows switch is
needed to create Windows executables instead of console applications.
It assures the appropriate Windows libraries are linked in for you.
To get a console screen along with a standard windows application, add
the -mconsole flag as well as -mwindows.
Lesezeichen