Can't Load the PCAN-UDS.dll

A free API for the communication with control devices according to UDS (ISO 14229-1)
Adn56
Posts: 6
Joined: Fri 14. Jan 2022, 09:27

Re: Can't Load the PCAN-UDS.dll

Post by Adn56 » Fri 14. Jan 2022, 11:53

I'd like to point out that it's not a problem to find the DLLs, but a problem of opening the dependencies of the ISo-TP DLL.

K.Wagner
Software Development
Software Development
Posts: 835
Joined: Wed 22. Sep 2010, 13:36

Re: Can't Load the PCAN-UDS.dll

Post by K.Wagner » Fri 14. Jan 2022, 11:53

Hello,

as you did not mention this, please check that the PCAN-Basic API is installed on your PC. The PCAN-UDS API needs all 3 libraries to work: PCANBasic.dll, PCAN-ISO-TP.dll and PCAN-UDS.dll
Best regards,
Keneth

Adn56
Posts: 6
Joined: Fri 14. Jan 2022, 09:27

Re: Can't Load the PCAN-UDS.dll

Post by Adn56 » Fri 14. Jan 2022, 11:59

Yes, indeed, everything is OK with the Can,
the PCanbasic works fine on this computer, only the UDS has this problem.
Why is the depency of Iso-Tp bad on this computer, while it is good (without errors) on another computer?
The same DLLs in the same places, no problem.

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

Re: Can't Load the PCAN-UDS.dll

Post by U.Wilhelm » Fri 14. Jan 2022, 12:10

If you do not belive that this is the problem, please scan your non-working device with our SysInfo-Tool Download-Link Sysinfo Tool and send the feedback to support@peak-system.com (do NOT post it here in public!)

simple check list, up in front:
  • is driver up to date
  • are 100% NO wrong DLL in any Path or System Directory
  • are you use the latest Version of the DLL(s)
--------------------------------
PEAK-System Technik
Technical Support Team
support@peak-system.com
-------------------------------

Adn56
Posts: 6
Joined: Fri 14. Jan 2022, 09:27

Re: Can't Load the PCAN-UDS.dll

Post by Adn56 » Fri 14. Jan 2022, 12:29

Nothing obvious except outdated driver versions, I'm attaching the log here.
Thank you for your help.

K.Wagner
Software Development
Software Development
Posts: 835
Joined: Wed 22. Sep 2010, 13:36

Re: Can't Load the PCAN-UDS.dll

Post by K.Wagner » Fri 14. Jan 2022, 12:55

Adn56 wrote:
Fri 14. Jan 2022, 11:59
Why is the depency of Iso-Tp bad on this computer, while it is good (without errors) on another computer?
Very difficult to say any cause for this. Note that all our APIs are compiled with all dependencies (i.e. no c++ redistributable or simular has to be installed to use these). Just tested to be sure on a windows 7 and 10 systems, no problems seen.
Adn56 wrote:
Fri 14. Jan 2022, 11:50
For the other computers where my application works well, the DLLs are just placed in the debug with the executable (Dot.Net 4)
I don't understand why it works on 3 computers (seven and win10) and not for the fourth -_-
Is the fourth also Windows 7? In the past, we've had customers having problems with .NET 4 on Windows 7. Somehow the framework gets corrupted, so some apps may crash. If this is your case, please try uninstalling the .NET Framework and installing it again (do not repair but really make a new installation).
Best regards,
Keneth

Adn56
Posts: 6
Joined: Fri 14. Jan 2022, 09:27

Re: Can't Load the PCAN-UDS.dll

Post by Adn56 » Fri 14. Jan 2022, 14:10

ok thank, i will try another framework whit visual studio 2015 (i working whit visual studio 2010)
for the dlls it's the one from your site in download, so no recompilation on my side.
I have the redistributable C++ 2005,2008,2010,2012,2013.

Yes the fourth pc is under windows 7, like the nuémro 2 which works well.
it's to go crazy this windows :D

Enjoy the end of week.

Post Reply