dummyDLL Export some functions. See if they load somewhere. Building Have mingw-w64 (if compiling on Linux) make Check the functions work: rundll32.exe dummy.dll,DllRegisterServer Place the dll somewhere you think it might hijack a hosting executable. )