extern "C" __declspec(dllexport) void SayHello() MessageBoxA(NULL, "Hello from DLL!", "Message", MB_ICONINFORMATION);