win32 merge
This commit is contained in:
15
win32/examples/dll.c
Normal file
15
win32/examples/dll.c
Normal file
@ -0,0 +1,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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user