Drop the TEXT macro here. If a bare string works for GetProcAddress, it should work for GetModuleHandle too, no?