'System.DllNotFoundException' in PcanUdsExample.exe

A free API for the communication with control devices according to UDS (ISO 14229-1)
Post Reply
seongteh89
Posts: 6
Joined: Thu 6. May 2021, 09:46

'System.DllNotFoundException' in PcanUdsExample.exe

Post by seongteh89 » Thu 6. May 2021, 09:59

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.
Attachments
32BitDLLintoSysWOW64.JPG
32BitDLLintoSysWOW64.JPG (130.01 KiB) Viewed 2557 times
64BitDLLintoSystem32.JPG
64BitDLLintoSystem32.JPG (161.73 KiB) Viewed 2557 times
DLLNotFound.JPG
DLLNotFound.JPG (281.54 KiB) Viewed 2557 times

F.Vergnaud
Software Development
Software Development
Posts: 305
Joined: Mon 9. Sep 2013, 12:21

Re: 'System.DllNotFoundException' in PcanUdsExample.exe

Post by F.Vergnaud » 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.
Best regards,
Fabrice

seongteh89
Posts: 6
Joined: Thu 6. May 2021, 09:46

Re: 'System.DllNotFoundException' in PcanUdsExample.exe

Post by seongteh89 » Thu 6. May 2021, 11:03

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

Post Reply