求大神给个老板键实现思路_脑子想炸了_游戏客户端

系统热键会被别的进程抢注
键盘钩子会被杀软报毒
还有其他法子么 或者以上方法有改进

可以用winio实现,不需要hook

还是钩子函数靠谱,可以下载时告诉用户杀软会报毒,让用户忽略。或者有技术的可以做免杀。

http://download.csdn.net/detail/auroraalpha/1364568
http://download.csdn.net/detail/q374987317/4891201

    CMFCLeakerTestDlg dlg;
    m_pMainWnd = &dlg;
    INT_PTR nResponse = dlg.DoModal();
    if (nResponse == IDOK)
    {
        // TODO: Place code here to handle when the dialog is
        //  dismissed with OK
    }
CMFCLeakerTestDlg dlg;
m_pMainWnd = &dlg;
INT_PTR nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
    // TODO: Place code here to handle when the dialog is
    //  dismissed with OK
}