#include #define DLLOBJECT extern "C" __declspec(dllexport) DLLOBJECT void writeln(char* s) { printf("Printed: %s\n", s); }