blob: 052a0564477ecfe4fcbe1088646d9c536271e4dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//+---------------------------------------------------------------------------
//
// 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)
{
MessageBox (0, hello_data, "From DLL", MB_ICONINFORMATION);
}
|