Error for GetLastInputInfo
-
Hello I am using GetLastInputInfo() function in my MFC app developed on VS 6.0 For some reason the compiler is saying - GetLastInputInfo - undeclared idetifier I have added both windows.h and winuser.h in file. Also when i place the cursor on top of the function, it actually shows the declaration. So the editor definitly is able to identify the function. But the compiler is complaining Why's this happening? How to resolve this? Thanks in advance.
-
Hello I am using GetLastInputInfo() function in my MFC app developed on VS 6.0 For some reason the compiler is saying - GetLastInputInfo - undeclared idetifier I have added both windows.h and winuser.h in file. Also when i place the cursor on top of the function, it actually shows the declaration. So the editor definitly is able to identify the function. But the compiler is complaining Why's this happening? How to resolve this? Thanks in advance.
-
Hello I am using GetLastInputInfo() function in my MFC app developed on VS 6.0 For some reason the compiler is saying - GetLastInputInfo - undeclared idetifier I have added both windows.h and winuser.h in file. Also when i place the cursor on top of the function, it actually shows the declaration. So the editor definitly is able to identify the function. But the compiler is complaining Why's this happening? How to resolve this? Thanks in advance.
-
Hi, Make sure that WINVER and _WIN32_WINNT are set correctly. Using the Windows Headers[^] Best Wishes, -David Delaune
Thanks all I got this fixed.