Advertisement
Guest User

Untitled

a guest
Jul 9th, 2019
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.42 KB | None | 0 0
  1. //+---------------------------------------------------------------------------
  2. //
  3. //  dll.c - Windows DLL example - dynamically linked part
  4. //
  5. //+---------------------------------------------------------------------------
  6.  
  7. #include <windows.h>
  8.  
  9. __declspec(dllexport) const char *hello_data = "(not set)";
  10.  
  11. __declspec(dllexport) void hello_func (void)
  12. {
  13.     MessageBox (0, hello_data, "From DLL", MB_ICONINFORMATION);
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement