C# Example

A free API for the Communication with Control Units based on the CAN Calibration Protocol (CCP) by ASAM for Windows®
Post Reply
diantn
Posts: 2
Joined: Tue 2. Oct 2012, 14:15

C# Example

Post by diantn » Tue 2. Oct 2012, 14:22

Hi,

I'm trying to run the C# example using Microsoft Visual C# Express.
But it says that the PCCP.dll can't be found although I tried numerous way to include it, such as:
- put into project dir
- put into bin\Debug dir
- put into System32 dir
- set as PATH

Could you please help?

diantn
Posts: 2
Joined: Tue 2. Oct 2012, 14:15

Re: C# Example

Post by diantn » Tue 2. Oct 2012, 14:33

Hi again,

Sorry for my previous post. :-)
I solved it by putting PCANBasic.dll in the same location as the PCCP.dll, which was not the case.

I got confused because the system says it can't find PCCP.dll and not the PCANBasic.dll.

K.Wagner
Software Development
Software Development
Posts: 767
Joined: Wed 22. Sep 2010, 13:36

Re: C# Example

Post by K.Wagner » Tue 2. Oct 2012, 14:39

Hello diantn,

Please check that the both dlls (PCCP.dll AND PCANBasic.dll) are located eather in the Windows\System32 folder or in the folder where the exe using the API is located, so that you have three files like in the following picture:
Files needed
Files needed
CCP-Files.png (2.74 KiB) Viewed 5027 times
Best regards,
Keneth

Post Reply