BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved) >{ > // Remove this if you use lpReserved > UNREFERENCED_PARAMETER(lpReserved); > > if (dwReason == DLL_PROCESS_ATTACH) > { > } > else if (dwReason == DLL_PROCESS_DETACH) > { > } > return TRUE; >}You'll have to declare any exposed functions as being exported.