PCAN_USB.dll not loading in Win10
Posted: Sun 28. Aug 2016, 19:25
I am using a CAN-Device with PCAN-USB and the PCAN-light-package. My software is a 32bit-application. I have two computers (xp 32bit and Win10 64bit) for testing:
- My software works with PCAN-USB under windows xp.
- My software doesn't work with PCAN-USB under windows 10.
- PCAN-View works under xp and win10.
I have debugged the initialisation and the problem is the LoadLibrary-command of the PCAN_USB.dll (version 2.0.4.0). It returns 0 under Win10.
I have tried different locations:
- c:\Windows\System32
- c:\Windows\SysWoW64
- Application-directory
- Seperate directory and an explicit path in the LoadLibrary-command.
"FileExits" succeeds, so the dll is found.
Any ideas?
Carsten
btw: Then suppplied PCAN_USB.dll for win32 and win64 are identical. (?)
- My software works with PCAN-USB under windows xp.
- My software doesn't work with PCAN-USB under windows 10.
- PCAN-View works under xp and win10.
I have debugged the initialisation and the problem is the LoadLibrary-command of the PCAN_USB.dll (version 2.0.4.0). It returns 0 under Win10.
I have tried different locations:
- c:\Windows\System32
- c:\Windows\SysWoW64
- Application-directory
- Seperate directory and an explicit path in the LoadLibrary-command.
"FileExits" succeeds, so the dll is found.
Any ideas?
Carsten
btw: Then suppplied PCAN_USB.dll for win32 and win64 are identical. (?)