CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2000
    Location
    Oxford, UK.
    Posts
    352

    Red face BlockInput fails with 5

    Hi folks,
    I'm calling BlockInput in user32.dll, and it's failing with 5 Access Denied when UAC is on. How do I deal with this?

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

    Re: BlockInput fails with 5

    Run as Admin?
    Victor Nijegorodov

  3. #3
    Join Date
    Mar 2000
    Location
    Oxford, UK.
    Posts
    352

    Re: BlockInput fails with 5

    Quote Originally Posted by VictorN View Post
    Run as Admin?
    I expect there is a privilege that will enable it. Which one?

  4. #4
    Join Date
    Feb 2002
    Posts
    4,640

    Re: BlockInput fails with 5

    A quick search of the MSDN came up with this:

    http://social.msdn.microsoft.com/For...e-35684cb38941

    Viggy

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