tinycc/win32/examples/dll.c

14 lines
340 B
C
Raw Normal View History

2005-04-17 17:10:37 +04:00
//+---------------------------------------------------------------------------
//
// dll.c - Windows DLL example - dynamically linked part
//
#include <windows.h>
__declspec(dllexport) const char *hello_data = "(not set)";
__declspec(dllexport) void hello_func (void)
2005-04-17 17:10:37 +04:00
{
MessageBox (0, hello_data, "From DLL", MB_ICONINFORMATION);
2005-04-17 17:10:37 +04:00
}