Click here to Skip to main content
15,888,968 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
C++
How can I Stop the function of automatic analysis for VS2010?
Posted
Comments
OriginalGriff 6-May-11 3:01am    
We would need more information - just as what "function of automatic analysis" are you talking about?
Please, use the "Improve question" widget to explain in more detail what is giving you a problem.
Sandeep Mewara 6-May-11 3:20am    
Not clear.

C++
when it analysis automatically,An icon appeared in its bottom right corner

C++
By the way.
        DWORD dHotKey;
        RegQueryValueEx(hKey, _T("Capture HotKey"), 0,NULL,(LPBYTE)&dHotKey,&dwSize);
        m_cMask=dHotKey>>8;//0x00000278>>=0x0002=2
        m_cKey=dHotKey&0x0000ff00;//0x00000278&0xff00=0x0078=120

C++
Why don't I get them m_cMask and m_cKey value
 
Share this answer
 
Comments
Richard MacCutchan 6-May-11 3:44am    
What error return did you receive?
Sansan Fang 6-May-11 5:54am    
I won't upload pictures, give a link here:
http://hi.baidu.com/%CB%D5%B1%B1%D0%A1%C2%F3/album/item/47f245eb1186586cadafd529.html#
C++
DWORD dHotKey=0;
if(ERROR_SUCCESS == RegQueryValueEx(hKey, _T("Capture HotKey"), 0,NULL,(LPBYTE)&dHotKey,&dwSize))
{
    WORD loWord=LOWORD(dHotKey);
    m_cMask=HIBYTE(loWord);//0x0278>>8=0x0002=2BYTE
    m_cKey=LOBYTE(loWord);//0x0278&0xff00=0x0078=120BYTE
}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900