aboutsummaryrefslogtreecommitdiff
path: root/tinycc/win32/examples/hello_dll.c
diff options
context:
space:
mode:
Diffstat (limited to 'tinycc/win32/examples/hello_dll.c')
-rw-r--r--tinycc/win32/examples/hello_dll.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/tinycc/win32/examples/hello_dll.c b/tinycc/win32/examples/hello_dll.c
deleted file mode 100644
index 4813c5b..0000000
--- a/tinycc/win32/examples/hello_dll.c
+++ /dev/null
@@ -1,20 +0,0 @@
-//+---------------------------------------------------------------------------
-//
-// HELLO_DLL.C - Windows DLL example - main application part
-//
-
-#include <windows.h>
-
-void hello_func (void);
-__declspec(dllimport) extern const char *hello_data;
-
-int WINAPI WinMain(
- HINSTANCE hInstance,
- HINSTANCE hPrevInstance,
- LPSTR lpCmdLine,
- int nCmdShow)
-{
- hello_data = "Hello World!";
- hello_func();
- return 0;
-}