forked from KolibriOS/kolibrios
compiler 0.9.26 release
git-svn-id: svn://kolibrios.org@6429 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
12
programs/develop/ktcc/trunk/source/win32/examples/dll.c
Normal file
12
programs/develop/ktcc/trunk/source/win32/examples/dll.c
Normal file
@@ -0,0 +1,12 @@
|
||||
//+---------------------------------------------------------------------------
|
||||
//
|
||||
// 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