diff options
Diffstat (limited to 'tinyc/win32/examples/hello_dll.c')
-rw-r--r-- | tinyc/win32/examples/hello_dll.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tinyc/win32/examples/hello_dll.c b/tinyc/win32/examples/hello_dll.c new file mode 100644 index 000000000..7adba77ec --- /dev/null +++ b/tinyc/win32/examples/hello_dll.c @@ -0,0 +1,19 @@ +//+--------------------------------------------------------------------------- +// +// HELLO_DLL.C - Windows DLL example - main application part +// + +#include <windows.h> + +void HelloWorld (void); + +int WINAPI WinMain( + HINSTANCE hInstance, + HINSTANCE hPrevInstance, + LPSTR lpCmdLine, + int nCmdShow) +{ + HelloWorld(); + return 0; +} + |