[usbip-devel] Update to client
Status: Alpha
Brought to you by:
hirofuchi
From: Damien T. <tou...@us...> - 2012-08-07 14:27:49
|
Hi, I had to hack a little bit the client part (https://usbip.svn.sourceforge.net/svnroot/usbip/windows/trunk/userspace/src/usbip_windows.c). Actually, in our Windows, the string returned by "SetupDiGetDeviceRegistryProperty" is not char*, but wchar*. Thus, following treatments are wrong (mainly strcmp that only deals with char*). Moreover, CreateFile works with wchar* too. So I propose the given patch that fully allows use of wchar as well as char. Regards Damien Touraine |