Click here to Skip to main content
15,897,891 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
While Coding for Sendinput(), I am getting KEYBDINPUT as well as INPUT as undeclared identifiers.
I even included #define _WIN32_WINNT 0x0500 before including <windows.h> and <winuser.h>.
I am using MS Visual Studio 2005 version 8.0.50727.762 and .NET Framework 2.0.

Please help me out,

Thanks
Posted
Comments
Sergey Alexandrovich Kryukov 13-Sep-11 17:31pm    
Where is your code?
--SA

1 solution

#include <windows.h>
:
KEYBDINPUT ki;
</windows.h>

works fine for me. You are going to have to provide more details.
 
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