======================================================================
MWXUSB.DLL for Windows 
======================================================================

Filename: mwxusb_140717.zip - July 17 2014

Content:
	MwxUsb.dll	V4.14.0.0
        Keyhook.dll     V1.0.34.0
	MWXUSB API.pdf	documentation
	demo folder 	source codes and examples 
	Readme.txt	this file


======================================================================
MwxUsb.dll
======================================================================
This dll provides functions to control the USB Keyboard.
Please refer to the documentation "MWXUSB API.pdf" for complete set of functions.


----------------------------------------------------------------------
Notes on MWXUSB.DLL on 64bit / X64 systems:
----------------------------------------------------------------------
The MWXUSB.DLL and all DLLs below that are 32bit only.
Therefore applications opening the MWXUSB API must be compiled for platform "X86".

Solution 1:
Please compile your application for platform "X86" – instead of "Any" or "X64".

Solution 2:
Alternatively, if you really need 64bit support in your application:
Here you might write a small X86 wrapper software which is interacting with our DLLs.



----------------------------------------------------------------------
Installation
----------------------------------------------------------------------

By default, in the past versions of MWXUSB, the sub-dll "keyhook.dll" had to be registered before using the MWXUSB.DLL.

Beginning with MwxUsb.dll Version 4.14.0.0, this registering is not necessary any longer.
Just place both DLLs "MWXUSB.DLL" and "keyhook.dll" into the same folder as your executable.

The MWXUSB.DLL will then open the local "keyhook.dll" first.
If it does not find a file "keyhook.dll" here, the usual registry way is done otherwise.




======================================================================
"Keyhook.dll" - USB subdll required by MWXUSB.DLL
======================================================================

When using also other PrehKeyTec software on this machine:
For such cases, you should consider to register and update the keyhook.dll in a central place.

You might use below script to register the subsystem "USB keyhook" to the Windows' System32 folder:
	register-keyhook_USB_sys32.cmd

This script will do the following:
* Copy the usb keyhook to folder <Windows>\System32\keyhook_usb.dll
* Register this file at that place.


----------------------------------------------------------------------
Notes on keyhook.dll:
----------------------------------------------------------------------
Old installations / DriverPack placed the usb keyhook.dll here by default:
	%ProgramFiles%\Preh\DriverPack\USB\keyhook.dll

"Manually" registering the keyhook.dll in your own installation scripts:
	regsvr32.exe <path to keyhook-usb>\keyhook.dll

Unregister:
	regsvr32.exe /u <path to keyhook-usb>\keyhook.dll
 

64bit Systems:
On 64bit Systems, above script "register-keyhook_USB_sys32.cmd" will copy and register into respective folder <Windows>\SysWow64\.... 
The registry key will be at respective Wow6432Node\... on 64bit here.


keyhook.dll can control opening of the USB keyboard as described below:
        Reg-Key:	HKEY_LOCAL_MACHINE\SOFTWARE\PREH\Keyboard\usb
        DWORD           DEVICENUMBER

        Default: DEVICENUMBER = 0
        Use DEVICENUMBER = 1 to skip one PrehKeyTec keyboard (2: skip two keyboards)





======================================================================
Annex
======================================================================
Copyright
© Copyright PrehKeyTec GmbH 2014
Published by PrehKeyTec GmbH. Preh KeyTec GmbH reserves the right to update or change the products described in this document as well as the document itself, without prior notice.
This document may not be reproduced, processed or translated into electronic form or other languages without the prior written permission of Preh KeyTec GmbH.

Trademarks
Brands and product names mentioned in this document are trademarks or registered trademarks of their owner. e.g: Windows: Trademark of Microsoft Corporation

Help and Support
Any questions or suggestions to improve our products are welcome.
Please contact our technical support team: support@prehkeytec.de

PrehKeyTec GmbH
Scheinbergweg 10
D-97638 Mellrichstadt
Germany
Email: support@prehkeytec.de
Web:   www.prehkeytec.com

---
2073/prehkeytec/2014-07-17