ambiguous call to overloaded function IsDebuggerPresent

Error 1 error C2668: ‘IsDebuggerPresent’ : ambiguous call to overloaded function

if (ms_IMEHookFunction && !IsDebuggerPresent()) 
{
    RegisterHotKey(ms_window, ms_hotKeyId, 0, VK_F5);
}

How can fix it?


Source: c++

Leave a Reply