commit | 542e6fd03d115b74a9aa3ebea1d21d63e4a86aa1 | [log] [tgz] |
---|---|---|
author | dmitrykos <dmitrykos@neutroncode.com> | Thu Jan 31 23:17:06 2019 +0200 |
committer | Nathan Hjelm <hjelmn@me.com> | Thu Apr 04 22:35:03 2019 -0600 |
tree | 06b8c7a4c62ff46de553264ad552819886af3f49 | |
parent | 5347d115d94eeaa67eddb4eb4c39402d2785f979 [diff] |
windows: Improved log message output to MSVC Improved log message output to MSVC handling by converting multi-byte string (assumed to be UTF-8) to WCHAR string if UNICODE is defined, if UNICODE is not defined then multi-byte string is sent to MSVC (Windows CE defines UNICODE always, so it will use UNICODE case), added check for 0 to avoid sending trash to MSVC (and possibly crash the process) if conversion to WCHAR string fails. Closes #504 Signed-off-by: Nathan Hjelm <hjelmn@me.com>
libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD and Haiku userspace. It is written in C (Haiku backend in C++) and licensed under the GNU Lesser General Public License version 2.1 or, at your option, any later version (see COPYING).
libusb is abstracted internally in such a way that it can hopefully be ported to other operating systems. Please see the PORTING file for more information.
libusb homepage: http://libusb.info/
Developers will wish to consult the API documentation: http://api.libusb.info
Use the mailing list for questions, comments, etc: http://mailing-list.libusb.info
(Please use the mailing list rather than mailing developers directly)