From 5a5caf8ad5c42265dd5c5b976230d97deeedc8bf Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Wed, 10 Apr 2002 03:52:30 +0000 Subject: [PATCH] A even more simple windowing test. This should be our first goal before winhello svn path=/trunk/; revision=2833 --- reactos/apps/tests/simple/makefile | 20 ++++++++++++++++++++ reactos/apps/tests/simple/simple.c | 15 +++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 reactos/apps/tests/simple/makefile create mode 100644 reactos/apps/tests/simple/simple.c diff --git a/reactos/apps/tests/simple/makefile b/reactos/apps/tests/simple/makefile new file mode 100644 index 00000000000..911bb27bcf9 --- /dev/null +++ b/reactos/apps/tests/simple/makefile @@ -0,0 +1,20 @@ + +PATH_TO_TOP = ../.. + +TARGET_NORC = yes + +TARGET_TYPE = program + +TARGET_APPTYPE = windows + +TARGET_NAME = simple + +TARGET_SDKLIBS = kernel32.a gdi32.a + +TARGET_OBJECTS = $(TARGET_NAME).o + +include $(PATH_TO_TOP)/rules.mak + +include $(TOOLS_PATH)/helper.mk + +# EOF diff --git a/reactos/apps/tests/simple/simple.c b/reactos/apps/tests/simple/simple.c new file mode 100644 index 00000000000..7002a463631 --- /dev/null +++ b/reactos/apps/tests/simple/simple.c @@ -0,0 +1,15 @@ +/* + * The simplest Windows program you will ever write. + * + * This source code is in the PUBLIC DOMAIN and has NO WARRANTY. + * + * Colin Peters , July 1, 2001. + */ +#include + +int STDCALL +WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmd, int nShow) +{ + MessageBox (NULL, "Hello, Windows!", "Hello", MB_OK); + return 0; +}