Home > Software engineering >  [WINIO consult. DLL how simulation button has been pressed don't lift?]
[WINIO consult. DLL how simulation button has been pressed don't lift?]

Time:09-22


I according to the online tutorial, the code seems to have a problem, just mykeydown with keys out, don't need mykeyup ~

Please the teacher and master know how to press a button, after know to specify the length of the lift?



Is this SUB is there a problem?

 Sub MyKeyDown (ByVal vKeyCoad As Long) '
Dim btScancode As Long
BtScancode=MapVirtualKey (vKeyCoad, 0)
KBCWait4IBE 'send data should wait for the keyboard buffer is empty before
SetPortVal KBC_KEY_CMD, & amp; HD2, 1 'send keyboard write command
'SetPortVal function is used to write data to the port, its usage is SetPortVal port, to write data, the length of the write data
KBCWait4IBE
SetPortVal KBC_KEY_DATA btScancode, 1 'written key information, press the keys
End Sub


Sub MyKeyUp (ByVal vKeyCoad As Long)
Dim btScancode As Long
BtScancode=MapVirtualKey (vKeyCoad, 0)
KBCWait4IBE 'waiting for the keyboard buffer is empty
SetPortVal KBC_KEY_CMD, & amp; HD2, 1 'send keyboard write command
KBCWait4IBE
SetPortVal KBC_KEY_DATA, (btScancode Or & amp; H80), 1 'written key information, release the button
End Sub




In addition I winio. DLL XP debugging through, but Windows 7 according to the online tutorials, to open the test mode and add DLL to trust the root directory,
But still tip can't find the DLL to consult how to use WINIO under Windows 7. DLL?

(often registered no pop-up safety warning, tutorials author said to pop up security warning, don't know is it because I signed up too many times so there is no warning)


Rectified didn't solve, pleaded with expert guidance!

CodePudding user response:


is hardware and I think, it is not a press is not raise way of sending data waiting for the lift instructions but when I press the hardware is once every 30 milliseconds to send?

CodePudding user response:

That could be a 64 - bit version of the relationship between behind
May be the winio. DLL you are 32 bit

CodePudding user response:

Also used the DLL, you can try on your own, if DOWN not only run UP in TXT again function, can continuous input Numbers or characters

CodePudding user response:

reference aspower_ reply: 3/f
also used the DLL, you can try on your own, if DOWN not only run UP in TXT again function, can continuous input Numbers or characters


Thank you very much for your reply, finally someone answer!

I'm in the website to download the 64 - bit WINIO. DLL, because I unable to load the DLL Windows 7 so there's no way to debug,

XP buttons on continuous send press, ten times TXT key characters of two corresponding on ~,

CodePudding user response:

Windows 7 if to use WinIO 3.0 use winio32. DLL or use 32-bit, only on Windows 7 64 - bit driver calls, call winio64. Sys, this also involves the Windows 7 driver signature, after the success of the signature directly copy XP to run a successful exe, WinIO. DLL is changeless, WinIO. Sys to winio64. Sys.

CodePudding user response:

Below the xp etc. I'm free to you under debugging

CodePudding user response:

reference 5 floor aspower_ reply:
Windows 7 if to use WinIO 3.0 use winio32. DLL or a 32-bit, only on Windows 7 64 - bit driver calls, call winio64. Sys, this also involves the Windows 7 driver signature, after the success of the signature directly copy XP to run a successful exe, WinIO. DLL is changeless, WinIO. Sys to winio64. Sys.


Masters of the finally meet very happy!!

Code can run under Windows XP, but couldn't find the DLL in Windows 7 64 - bit down, I according to the online tutorial to test mode, install winio64. The sys certificate to trust the root directory of the (, but there is no safety tips, as if said no safety tips, installation is not successful ~)


Then I tried calling code winio. DLL, winio32. DLL, winio64. DLLS are not, baidu N back to are the same solution but I use baidu solutions cannot solve Orz...

Hope you to help solve warrior!! Thank you very much!!!!!



CodePudding user response:

reference 5 floor aspower_ reply:
Windows 7 if to use WinIO 3.0 use winio32. DLL or a 32-bit, only on Windows 7 64 - bit driver calls, call winio64. Sys, this also involves the Windows 7 driver signature, after the success of the signature directly copy XP to run a successful exe, WinIO. DLL is changeless, WinIO. Sys to winio64. Sys.


Go home at noon I will try to you this way!! :)

CodePudding user response:

refer to 6th floor aspower_ response:
below xp etc. I'm free to you under the debugging


Aspower_ warrior hello, tried or not ah ~ can I ask for help you try it again, thank you very much!

CodePudding user response:

SendInput?

CodePudding user response:

The
references to the tenth floor zhao4zhong1 response:
SendInput?


Also not line, should be bypassed the Windows mechanism, model, speaking, reading and writing directly to the keyboard port is ok ~


Recently found a very strange phenomenon, is the window to activate the kartrider, mouse and keyboard HOOK less than key information actually!!


Hope very much that zhao 4 under the guidance of the teacher, thank you very much!!!!!

CodePudding user response:

Put kartrider virtual machine running in, in a virtual closed to simulate keyboard try,

CodePudding user response:

refer to 12 floor zhao4zhong1 reply:
b: will run on the virtual machine, the virtual closed to simulate keyboard give it a try,


Zhao four teacher hello, testing is not oh ~

Recently found that the system's own osk. Exe is dark technology can estimate the drive level is through the ~ of the virtual keyboard, but can only press a button ~

CodePudding user response:

Use WinAPIOverridehttp://jacquelin. Potier. Free. Fr/winapioverride32/analysis osk. Exe.

CodePudding user response:

Zhao4zhong1 teacher hello

Can I add your QQ, please pay mode I would like to ask you to help me solve some programming problems because I carry it is wrong to take your time and you are a master of time is more precious but I solve feeling particularly high time cost is also very hope to do your students!

CodePudding user response:

In the simulated keyboard technology, killer application should be to control the mechanical finger directly according to the physical keyboard, I think,

CodePudding user response:

In the field of screen capture technology, killer application should be using high-definition cameras on the screen, I think,

CodePudding user response:

In conclusion belongs,
In the field of game plugin technology, killer application should be using high-definition cameras on the screen and according to the image content for real-time control mechanical fingers on the keyboard or touch screen or points to move the mouse, I think,

And I predict that in the near future, in the field of e-sports AlphaGo will be born!

CodePudding user response:

nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  •  Tags:  
  • API
  • Related