Francois Gouget : Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll.