x86-64: Add basic shared lib support
[tinycc.git] / win32 / examples / dll.c
blob4c1d8ce77413f58c4a05d0c4c3e64d9dfb51b8dc
1 //+---------------------------------------------------------------------------
2 //
3 // dll.c - Windows DLL example - dynamically linked part
4 //
6 #include <windows.h>
7 #define DLL_EXPORT __declspec(dllexport)
9 DLL_EXPORT void HelloWorld (void)
11 MessageBox (0, "Hello World!", "From DLL", MB_ICONINFORMATION);