Page 2 of 2

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

Posted: Fri 14. Jan 2022, 11:53
by Adn56
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.

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

Posted: Fri 14. Jan 2022, 11:53
by K.Wagner
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

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

Posted: Fri 14. Jan 2022, 11:59
by Adn56
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.

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

Posted: Fri 14. Jan 2022, 12:10
by PEAK-Support
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)

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

Posted: Fri 14. Jan 2022, 12:29
by Adn56
Nothing obvious except outdated driver versions, I'm attaching the log here.
Thank you for your help.

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

Posted: Fri 14. Jan 2022, 12:55
by K.Wagner
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).

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

Posted: Fri 14. Jan 2022, 14:10
by Adn56
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.