mcuee
mcuee
@tckillian @tormodvolden Please check if #949 is correct or not. Thanks.
First time learning to create a pull request. :-)
@tormodvolden It seems to me the ordinal number is not unique. I believe it is there to support legacy code (32bit only). But now we need to see if 8...
@tormodvolden From libusb-1.0.def history file, it seems that this should be manually generated. https://github.com/libusb/libusb/commit/b88ce7d2450a2d77b84cca5ffe6bcb449a5ae05b ``` * Generated from a MinGW32 generated DLL using the command: echo -e "LIBRARY\nEXPORTS" > libusb-1.0.def;...
Chris is also generating the def file from the DLL. https://github.com/libusb/libusb/commit/cec3514dd4c6a56b543559874f2b40f3e0c67fe2 ```Windows: Regenerate libusb-1.0.def file from latest DLL``` But many times it will be manually created.
The usage of the def file is to make the DLL interchangeable between MinGW and MSVC. There was a long discussion here. https://marc.info/?l=libusb-devel&m=128076361626828&w=4 List: libusb-devel Subject: Re: [Libusb-devel] interchangeability of...
Closing this for now. If the users encounter issues with libusb-1.0.def file, then we can reopen. I will ask in the libusb-devel mailing list as well. I understand that it...
Actually I do not know if libusb_set_option() can be exported correctly for 32bit Windows (it is not needed for 64bit Windows as far as I know) because it takes variadic....
MinGW.org gendef utility (I just found that MinGW.org is still alive from OSDN). ``` ; ; Definition file of libusb-1.0.dll ; Automatic generated by gendef ; written by Kai Tietz...
@pbatard Sorry Pete, need to disturb you to see what is the right way to export libusb_set_option(). Thanks.