CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2016
    Posts
    3

    Does work sendinput and keybd_event in windows 10?

    I write program to send key press in notepad. It's fine work in windows 8 x64, but don't work on windows 10 x64. I get error message #87 - ERROR_INVALID_PARAMETER.

    help me please

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Does work sendinput and keybd_event in windows 10?

    Maybe it's a security issue?
    Try to run it as Admin or/and change UAC settings...
    Victor Nijegorodov

  3. #3
    Join Date
    Jul 2016
    Posts
    3

    Re: Does work sendinput and keybd_event in windows 10?

    Quote Originally Posted by VictorN View Post
    Maybe it's a security issue?
    Try to run it as Admin or/and change UAC settings...
    I think you right. My program work on win 10 x64 Home.
    I run program on win10 x64 Enterprise. UAC is disable and i start app like admin. What can be else?

  4. #4
    Join Date
    Jul 2016
    Posts
    3

    Re: Does work sendinput and keybd_event in windows 10?

    Finaly i fix it. Only needed to install updates for windows 10

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured