dll.c 313 B

123456789101112131415
  1. //+---------------------------------------------------------------------------
  2. //
  3. // dll.c - Windows DLL example - dynamically linked part
  4. //
  5. #include <windows.h>
  6. #define DLL_EXPORT __declspec(dllexport)
  7. DLL_EXPORT void HelloWorld (void)
  8. {
  9. MessageBox (0, "Hello World!", "From DLL", MB_ICONINFORMATION);
  10. }