You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
validate_libFTD2XX_version uses the function FT_GetLibraryVersion to test version number but then test against using the driver version instead of the library version.
functionvalidate_libFTD2XX_version(name, handle)
f = Libdl.dlsym_e(handle, "FT_GetLibraryVersion")
f ==C_NULL&&returnfalse
v =Ref{Cuint}()
s =ccall(f, Culong, (Ref{Cuint},), v)
s ==C_NULL&&returnfalseif Sys.iswindows()
return v[] >=0x00021228# <- THIS is incorrect.elsereturntrue# OS X library returns version 0x0000000endend
Windows testing suggests that the library version is v"3.2.14" (see #41) so the below should work instead
functionvalidate_libFTD2XX_version(name, handle)
...# as aboveif Sys.iswindows()
return v[] >=0x00030214elsereturntrue# OS X library returns version 0x0000000endend
The text was updated successfully, but these errors were encountered:
validate_libFTD2XX_version
uses the functionFT_GetLibraryVersion
to test version number but then test against using the driver version instead of the library version.Windows testing suggests that the library version is
v"3.2.14"
(see #41) so the below should work insteadThe text was updated successfully, but these errors were encountered: