Xiaofan Chen | 3 Sep 2010 01:35
Picon

Re: libusb-win32 v1.2.0.0 released with signed driver

On Thu, Sep 2, 2010 at 11:33 PM, Arnaud Darmont <adarmont_ml <at> aphesa.com> wrote:
> Hi All,
>
> as i still only have a 32-bits compiler (deperately waiting for Embarcadero
> to release the 64-bits version, have been waiting for 2 years) but most of
> my customers have 64-bits OS, do you think there is a solution to run the
> 64-bits driver with a 32-bits software?
>

There is no problem with running 32bit software on the 64bit Windows
with 64bit driver.

If you download the latest release, you will find that we have 32bit/64bit
driver and 32bit/64bit dlls. Under 32bit WIndows, 32bit driver and 32bit
dll are installed. Under 64bit Windows, 64bit driver is installed together
with 32/64bit dll. The 64bit dll is installed into windows\system32 and
the 32bit dll is installed into windows\syswow64.

Portion of the inf file:
;--------------------------------------------------------------------------
; libusb-win32 files
;--------------------------------------------------------------------------

[SourceDisksNames]
1 = %SourceName%

[SourceDisksFiles.x86]
libusb0.sys     = 1,x86
libusb0_x86.dll = 1,x86

[SourceDisksFiles.amd64]
libusb0.sys     = 1,amd64
libusb0.dll     = 1,amd64
libusb0_x86.dll = 1,x86

[SourceDisksFiles.ia64]
libusb0.sys     = 1,ia64
libusb0.dll     = 1,ia64
libusb0_x86.dll = 1,x86

[DestinationDirs]
libusb_files_sys       = 10,system32\drivers
libusb_files_dll       = 10,system32
libusb_files_dll_wow64 = 10,syswow64
libusb_files_dll_x86   = 10,system32

[libusb_files_sys]
libusb0.sys

[libusb_files_dll]
libusb0.dll

[libusb_files_dll_x86]
libusb0.dll, libusb0_x86.dll

[libusb_files_dll_wow64]
libusb0.dll, libusb0_x86.dll

--

-- 
Xiaofan

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd

Gmane