I have a problem trying to use SendInput in a program. When I use it, I get compiler messages saying that SendInput, the INPUT structure, etc, are undeclared. But I am staring straight at the declarations in winuser.h!!!
As a work around, I just copy and paste the prototypes directly into my Stdafx.h. Now the code compiles, but the linker complains that SendInput is an unresolved external.
Am I doing something wrong? I use Windows 98... the MSDN Library says it is supported in Windows 98. Are they wrong on this?
Please let me know if there is any light to be shed here. Thank you.
I REALLY hope that helps.
Will
As a work around, I just copy and paste the prototypes directly into my Stdafx.h. Now the code compiles, but the linker complains that SendInput is an unresolved external.
Am I doing something wrong? I use Windows 98... the MSDN Library says it is supported in Windows 98. Are they wrong on this?
Please let me know if there is any light to be shed here. Thank you.
I REALLY hope that helps.
Will