| #include <stdio.h> | |
| #include <time.h> | |
| #include <windows.h> | |
| #include "examples/windows/dll/hello-library.h" | |
| DLLEXPORT char *get_time() { | |
| time_t ltime; | |
| time(<ime); | |
| return ctime(<ime); | |
| } | |
| DLLEXPORT void say_hello(char *message) { | |
| printf("Hello from dll!\n%s", message); | |
| } |