alternative crt startup headers for size-sensitive executable built by mingw
Console Applications use main
entry point for ansi and wmain
entry point for unicode.
Include main.h
for int main(argc,argv)
or include mainv.h
for int main()
,
and append -nostartfiles
to your compiler parameters.
Windows Applications use WinMain
entry point for ansi and wWinMain
entry point for unicode.
Include winmain.h
and append -nostartfiles -mwindows -lshlwapi
to your compiler parameters.
commandlinetoargva.h
is NOT required for a unicode compilation.
LGPL 2.1+
forcommandlinetoargva.h
andexamples/hello_win.c
MIT
orLGPL 2.1+
for anything else in this repo
Check examples
folder for examples.