Search found 6 matches

by sabinhagen
Fri 18. Jan 2019, 02:16
Forum: PCAN-Basic
Topic: Way to Detect Device Driver
Replies: 2
Views: 4737

Re: Way to Detect Device Driver

Thank you, Keneth, that worked perfectly!

Well, after I added the System.Management resource that is!

And just in case anyone else needs this feature, please note that the driver is NOT actually detected by simply installing the driver, but rather you also have to plug in the USB tool for the ...
by sabinhagen
Wed 16. Jan 2019, 02:16
Forum: PCAN-Basic
Topic: Way to Detect Device Driver
Replies: 2
Views: 4737

Way to Detect Device Driver

My WPF application checks for the presence of the necessary DLL files when it starts up, but I don't know how to check whether or not the USB driver has been installed. If the DLL is present, I can read the GetValue function with the PCAN_CHANNEL_VERSION parameter. But I should be able to check for ...
by sabinhagen
Wed 19. Dec 2018, 15:45
Forum: PCAN-UDS
Topic: Can't Load the PCAN-UDS.dll
Replies: 16
Views: 12400

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

Just for future users, I did find that Visual Studio has checkbox in the Build settings for Platform Target, and the checkbox is for Prefer 32-bit. On our systems, that box is checked by default.

On the other machine having the same issue, we will try to change that check box and see if that ...
by sabinhagen
Wed 19. Dec 2018, 15:41
Forum: PCAN-UDS
Topic: Can't Load the PCAN-UDS.dll
Replies: 16
Views: 12400

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

While you were posting your reply, I sent into System32 and pulled up property windows on each of the DLLs to make sure each was truly the 64-bit version, and that was all fine.

So I went into the SysWOW64 folder and sure enough, only found the BASIC dll file there. Verified it was the 32-bit ...
by sabinhagen
Wed 19. Dec 2018, 15:21
Forum: PCAN-UDS
Topic: Can't Load the PCAN-UDS.dll
Replies: 16
Views: 12400

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

Yes, they are all in the System32 directory as I mentioned in my original post.

And the Basic DLL is read and works fine, but not the UDS.

Two different people on our team independently did this and found the same thing.
by sabinhagen
Wed 19. Dec 2018, 03:40
Forum: PCAN-UDS
Topic: Can't Load the PCAN-UDS.dll
Replies: 16
Views: 12400

Can't Load the PCAN-UDS.dll

Using a PCAN-USB-FD and have created a simple application using PCANBasic. Able to initialize a channel and use basic functions.

Tried to build a similarly simple app using PCAN-UDS.dll and the debugger says it cannot find PCAN-UDS.dll. I have all 3 dll files (Basic, ISO, and UDS) on my 64-bit ...