A free API for the Communication with Control Units based on the CAN Calibration Protocol (CCP) by ASAM for Windows®
-
mahdi59
- Posts: 1
- Joined: Sun 14. Aug 2022, 08:57
Post
by mahdi59 » Sun 14. Aug 2022, 14:04
hi im new to canbus and want to run ccp sample on PCAN-CCP and im using codeblocks or visual studio
i need some help how to compile it
any help would be helpful

-
K.Wagner
- Software Development

- Posts: 1084
- Joined: Wed 22. Sep 2010, 13:36
Post
by K.Wagner » Mon 15. Aug 2022, 08:03
Hello,
I suppose you use C++ as programming language. You will find a "C++ MFC" sample within the PCAN-CCP package. This example was written using the Microsoft Foundation Classes (MFC) so you need to have the workload or components of visual studio installed, that allow MFC compilation. This was written using Visual Studio 2008, so opening it in a newer Visual Studio version will prompt you to upgrade the project. Just do this when asked.
The PCAN-CCP provides you with functions to perform any CCP command. A good start point is the chapter "Introduction/About PCAN-CCP" within the documentaiton of the API. You will find there the typical call sequence for using the API, among other informations.
Best regards,
Keneth