PCAN_USB.dll not loading in Win10

CAN Software API for Windows®. REGARD! This API is out-dated. Please use PCAN-Basic for new software developments.
Post Reply
CarstenH
Posts: 2
Joined: Sun 28. Aug 2016, 19:05

PCAN_USB.dll not loading in Win10

Post by CarstenH » 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. (?)

User avatar
U.Wilhelm
Sales & Support
Sales & Support
Posts: 1190
Joined: Fri 10. Sep 2010, 19:34

Re: PCAN_USB.dll not loading in Win10

Post by U.Wilhelm » Mon 29. Aug 2016, 09:12

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
--------------------------------
PEAK-System Technik
Technical Support Team
support@peak-system.com
-------------------------------

CarstenH
Posts: 2
Joined: Sun 28. Aug 2016, 19:05

Re: PCAN_USB.dll not loading in Win10

Post by CarstenH » Mon 29. Aug 2016, 23:46

Thanks a lot, it's working now!
Carsten

Post Reply