DllMain returning FALSE will cause this error.