summary refs log blame commit diff stats
path: root/tinyc/win32/examples/dll.c
blob: 4202e99ca138c24da0f1134e58dd5a4732420aca (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                              
//+---------------------------------------------------------------------------
//
//  dll.c - Windows DLL example - dynamically linked part
//

#include <windows.h>

#define DLL_EXPORT __declspec(dllexport)


DLL_EXPORT void HelloWorld (void)
{
	MessageBox (0, "Hello World!", "From DLL", MB_ICONINFORMATION);
}