Neko Project 21/W
- MS-DOS 6.2
- Windows 3.1
- Visual C++ 1.5
hello.c
# include <windows.h>
int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow)
{
MessageBox(NULL, "hello", "hello, world", MB_OK);
return 0;
}
hello.def
NAME HELLO
DESCRIPTION 'HELLO'
EXETYPE WINDOWS
CODE PRELOAD MOVEABLE DISCARDABLE
DATA PRELOAD MOVEABLE MULTIPLE
STUB 'WINSTUB.EXE'
HEAPSIZE 1024
STACKSIZE 5120
mk.bat
cl /c /G2As /Fl hello.c
link /NOD /NOE hello.obj, hello.exe, NUL, libw slibcew, hello.def