Ordinal 129 could not be located in DLL (loadlibrary | peak PCAN passthru | winforms application)
Hello all,
I'm facing an issue with latest version of Peak PCAN driver, when I try to load the DLL of the latest driver in my winforms project the above error is shown. The catch is using the same loadlibrary function in any other project (winforms/wpf/maui) and the DLL loads successfully. I'm unable to understand how using the exact same code in every project is working except one.
Peak is a German company that develops Passthru devices that helps applications connect with microcontrollers using different protocols such as CAN etc. I'm using the hardware called PCAN-USB (IPEH-002021).
Driver versions I'm trying to work with are-
My application is built using .NET Framework 4.8, it is used for analysis, diagnostics of electric vehicles using CAN protocol. We've been maintaining the app from past 5-6 years, I've tried to contact PEAK company, but they end up telling it's an issue with LoadLibrary function of Windows not their driver file because the same driver is working with other projects.
Please let me know in case I missed to provide any information, posting here for the very first time.
Thank you.