Page 1 of 1

PCAN_USB.dll not loading in Win10

Posted: Sun 28. Aug 2016, 19:25
by CarstenH
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. (?)

Re: PCAN_USB.dll not loading in Win10

Posted: Mon 29. Aug 2016, 09:12
by PEAK-Support
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

Re: PCAN_USB.dll not loading in Win10

Posted: Mon 29. Aug 2016, 23:46
by CarstenH
Thanks a lot, it's working now!
Carsten