how do you do console apps?

Vincent Béron vberon at mecano.gme.usherb.ca
Mon Jul 21 22:46:33 CDT 2003


Le lun 21/07/2003 à 22:05, Jonathan Wilson a écrit :
> How would one do an app as a WineLib app (much like how notepad etc are) 
> but that is a console app?
> Is there an example somewhere in the wine tree of how to do a console app 
> (with main() instead of winmain() and that uses stdio.h to do output to 
> stdout and etc?)

The differences are very few: in Makefile.in, use APPMODE=cui instead of
APPMODE=gui, and you should be set.

If you want to look at a complete Makefile.in, programs/expand should
start you in the right direction.

Vincent





More information about the wine-devel mailing list