This repository has been archived on 2024-06-02. You can view files and clone it, but cannot push or open issues or pull requests.
wlb/tcc/examples/dll.c

14 lines
340 B
C

//+---------------------------------------------------------------------------
//
// 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);
}