Page 1 of 1

'System.DllNotFoundException' in PcanUdsExample.exe

Posted: Thu 6. May 2021, 09:59
by seongteh89
I has been searched through forum with the successful solution from below link thread which copy 64bit PCAN-UDS.dll into "Windows\system32 directory" & 32bit PCAN-UDS.dlls into "Windows\syswow64 directory" as my laptop OS is 64bit.

viewtopic.php?f=182&t=2912

While I still facing the issues "Unable to load DLL 'PCAN-UDS.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"

Anyone know how to solve this?

Previously I was able to execute PCAN-Basic example by using visual studio 2019 in C# folder already.

Re: 'System.DllNotFoundException' in PcanUdsExample.exe

Posted: Thu 6. May 2021, 10:03
by F.Vergnaud
Hello,

PCAN-UDS requires PCAN-ISO-TP and PCAN-Basic dlls. As it is not listed in your screenshots, this may be the reason why the loading of PCAN-UDS dll fails.

Re: 'System.DllNotFoundException' in PcanUdsExample.exe

Posted: Thu 6. May 2021, 11:03
by seongteh89
F.Vergnaud wrote:
Thu 6. May 2021, 10:03
Hello,

PCAN-UDS requires PCAN-ISO-TP and PCAN-Basic dlls. As it is not listed in your screenshots, this may be the reason why the loading of PCAN-UDS dll fails.
Thanks it solve after i copy PCAN-ISO too!!!!!!!!!!!!!!thanks much!!!!!!!!appreciated it