tinycc/win32/examples/dll.c

13 lines
313 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>
#define DLL_EXPORT __declspec(dllexport)
DLL_EXPORT void HelloWorld (void)
{
2009-07-19 00:07:10 +04:00
MessageBox (0, "Hello World!", "From DLL", MB_ICONINFORMATION);
2005-04-17 17:10:37 +04:00
}