Call to vciDeviceGetInfo() fails on Windows 10

The call to vciDeviceGetInfo() fails (returns an ERROR code) on Windows 10 but passes on Windows 7. Is this a bug in the VCI driver? The documentation doesn’t specify there should be a difference in OS.

I am using:
USB-to-CAN FD
VCI Driver: 4.0.875.0

I’m not aware of any bug with this call. What is the error you are getting?

Do you also still have the older VCI v3 driver installed? You may need to un-install all of the VCI drivers and do a clean install of VCI v4.

Blockquote
I am using:
USB-to-CAN FD
VCI Driver: 4.0.875.0.

I believe I have determined my root issue.

I am using the C-API from Python 3.8 to control the device. In the C-API for the device handle, the .h files show the PHANDLE parameter to be a void*. I was using a ctypes.c_uint32. Upping this to ctypes_c_uint64 or more correctly using ctypes.c_void_p resolved the issue.

I do not know why the C-API used 32-bit pointers when running on 64-bit Windows 7 vs. 64-bit pointers when running on 64-bit Windows 10.

That’s a good point. I’ll check with the developers to see if there is a reason for that or if they can fix it.