diff options
| author | bellard <bellard> | 2005-04-17 13:10:37 +0000 |
|---|---|---|
| committer | bellard <bellard> | 2005-04-17 13:10:37 +0000 |
| commit | 5556cf15656ad1e433ec20502411411e30a4cdc7 (patch) | |
| tree | 2105947a5bdaefd49ef9db9af5080498ef04ef42 /win32/examples/dll.c | |
| parent | 6144d433211b4c5ceb68d6ffa500d6d54c3a2d67 (diff) | |
| download | tinycc-5556cf15656ad1e433ec20502411411e30a4cdc7.tar.gz tinycc-5556cf15656ad1e433ec20502411411e30a4cdc7.tar.bz2 | |
dos2unix
Diffstat (limited to 'win32/examples/dll.c')
| -rw-r--r-- | win32/examples/dll.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/win32/examples/dll.c b/win32/examples/dll.c index 0736459..4202e99 100644 --- a/win32/examples/dll.c +++ b/win32/examples/dll.c @@ -1,15 +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);
-}
-
+//+--------------------------------------------------------------------------- +// +// 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); +} + |
