Win16でhello, world
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
Author And Source
この問題について(Win16でhello, world), 我々は、より多くの情報をここで見つけました https://qiita.com/Stosstruppe/items/7b4451db7df5eef88deb著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .