Dmitry Timoshkov : version: Use GetModuleHandleEx to increment the module ref count.