Results 1 to 1 of 1

Thread: [RESOLVED] key state error

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2012
    Posts
    142

    Resolved [RESOLVED] key state error

    This is the error occurring with this event
    Code:
    result = GetAsyncKeyState(i)
    Code:
    A call to PInvoke function 'Notepad!Notepad.Form1::GetAsyncKeyState' 
    has unbalanced the stack. This is likely because the managed PInvoke signature 
    does not match the unmanaged target signature. Check that the calling convention 
    and parameters of the PInvoke signature match the target unmanaged signature.
    What do i do?
    Last edited by ikdekker; Feb 6th, 2012 at 02:30 PM.

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