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. (?)
PCAN_USB.dll not loading in Win10
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: PCAN_USB.dll not loading in Win10
Hi,
the PCAN-Light DLL works fine from XP up to WIN10 (32/64Bit).
It Looks that you mix up the DLLs on your Windows 10 System. Please download the latets PCAN-Light Package from our WEB Page: LINK
After that search on your PC for all version of the pcan_usb.dll --> DELETE THEM ALL
Please copy the files from the download package exact as we explain here: LINK
For your information, please read also this: LINK
the PCAN-Light DLL works fine from XP up to WIN10 (32/64Bit).
It Looks that you mix up the DLLs on your Windows 10 System. Please download the latets PCAN-Light Package from our WEB Page: LINK
After that search on your PC for all version of the pcan_usb.dll --> DELETE THEM ALL
Please copy the files from the download package exact as we explain here: LINK
For your information, please read also this: LINK
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
Re: PCAN_USB.dll not loading in Win10
Thanks a lot, it's working now!
Carsten
Carsten