dll.c 340 B

1234567891011121314
  1. //+---------------------------------------------------------------------------
  2. //
  3. // dll.c - Windows DLL example - dynamically linked part
  4. //
  5. #include <windows.h>
  6. __declspec(dllexport) const char *hello_data = "(not set)";
  7. __declspec(dllexport) void hello_func (void)
  8. {
  9. MessageBox (0, hello_data, "From DLL", MB_ICONINFORMATION);
  10. }