summary refs log tree commit diff stats
path: root/tinyc/win32/examples/hello_dll.c
diff options
context:
space:
mode:
Diffstat (limited to 'tinyc/win32/examples/hello_dll.c')
-rw-r--r--tinyc/win32/examples/hello_dll.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/tinyc/win32/examples/hello_dll.c b/tinyc/win32/examples/hello_dll.c
deleted file mode 100644
index 4813c5b94..000000000
--- a/tinyc/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;
-}