Hello,
I have been struggling a problem with UDS and TP APIs. No matter what I did the program was succesfully built however it throws System.BadImageFormatException error. I tried running the program in x86 x64. Changed .net framework targets. Clean install of .net frameworks and visual redistrutables.
Any ideas?
Thanks!
PCAN-UDS BadImageFormatException
Re: PCAN-UDS BadImageFormatException
Hello,
the exception hints indeed to a platform mixing problem. Please check that the DLLs and your exe are for the same platform and lie in the same folder. You need the PCANBasic.dll, PCAN-ISO-TP.dll, and PUDS.dll. In order to see if those are the right ones for your platform please check the properties of each dll:
the exception hints indeed to a platform mixing problem. Please check that the DLLs and your exe are for the same platform and lie in the same folder. You need the PCANBasic.dll, PCAN-ISO-TP.dll, and PUDS.dll. In order to see if those are the right ones for your platform please check the properties of each dll:
Best regards,
Keneth
Keneth
-
- Posts: 2
- Joined: Wed 31. Jan 2018, 08:34
Re: PCAN-UDS BadImageFormatException
Hello,
Putting all DLLs in the same folder solved the problem.
Thanks a lot!
Putting all DLLs in the same folder solved the problem.
Thanks a lot!
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: PCAN-UDS BadImageFormatException
Thread closed
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------