From 4821702fb49c72216c307341dc3dfd5a3984cf83 Mon Sep 17 00:00:00 2001 From: bellard Date: Thu, 14 Apr 2005 23:49:21 +0000 Subject: win32 merge --- win32/examples/dll.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 win32/examples/dll.c (limited to 'win32/examples/dll.c') diff --git a/win32/examples/dll.c b/win32/examples/dll.c new file mode 100644 index 0000000..0736459 --- /dev/null +++ b/win32/examples/dll.c @@ -0,0 +1,15 @@ +//+--------------------------------------------------------------------------- +// +// dll.c - Windows DLL example - dynamically linked part +// + +#include + +#define DLL_EXPORT __declspec(dllexport) + + +DLL_EXPORT void HelloWorld (void) +{ + MessageBox (0, "Hello World!", "From DLL", MB_ICONINFORMATION); +} + -- cgit v1.3.1