Heyall,
I saw that for PCAN Basic API you provide files 'PCANBasicClass.h' and PCANBasicClass.cpp', which define functions bodies and whatnot from PCANBasic library 'PCANBasic.h'.
I have troubles finding similar class files for ISO-TP library 'PCAN-ISO-TP.h'. Is there one or do I write it on my own?
C++ ISOTPclass
Re: C++ ISOTPclass
Hello,
the PCANBasicClass.cpp/h are part of the PCAN-Basic example. They are intended to facilitate the loading of the PCANBasic.dll dynamically.
ISO-TP samples are using static dll loading (using a lib file) and for that reason there is no help class as the mentioned above. Nevertheless, we encourage our users to load dlls dynamically. If you want to do so, then you need to write your own class for it. You can take PCANBasicClass.cpp/h as sample for it.
the PCANBasicClass.cpp/h are part of the PCAN-Basic example. They are intended to facilitate the loading of the PCANBasic.dll dynamically.
ISO-TP samples are using static dll loading (using a lib file) and for that reason there is no help class as the mentioned above. Nevertheless, we encourage our users to load dlls dynamically. If you want to do so, then you need to write your own class for it. You can take PCANBasicClass.cpp/h as sample for it.
Best regards,
Keneth
Keneth
Re: C++ ISOTPclass
Thank you for replying.K.Wagner wrote:Hello,
the PCANBasicClass.cpp/h are part of the PCAN-Basic example. They are intended to facilitate the loading of the PCANBasic.dll dynamically.
ISO-TP samples are using static dll loading (using a lib file) and for that reason there is no help class as the mentioned above. Nevertheless, we encourage our users to load dlls dynamically. If you want to do so, then you need to write your own class for it. You can take PCANBasicClass.cpp/h as sample for it.
>Nevertheless, we encourage our users to load dlls dynamically.
How do you encourage? Not trying to be sarcastic, just asking if there is some stuff available to use already.
Re: C++ ISOTPclass
Hello,
We let the users now this (as I just doing with you) when such question appears
We let these examples with static lib for simplicity. The PCTPClient/PCTPServer samples are intended for hardware developers. For many of them it is easier to use a lib instead of having a dynamic link, so they can concentrate in the services, avoiding reviewing extra code.
You also get with the ISO-TP package samples with user interface (PcanIsoTpExample). Here the samples are written in .NET (which uses dynamic link).
We let the users now this (as I just doing with you) when such question appears

You also get with the ISO-TP package samples with user interface (PcanIsoTpExample). Here the samples are written in .NET (which uses dynamic link).
Best regards,
Keneth
Keneth
Re: C++ ISOTPclass
OK, thank you.
If I will have any questions, I will ask here or make new thread, depending if you want to lock this thread or not.

Re: C++ ISOTPclass
Hello,
please create different topics for different questions. We like to have topics separated so other users with similar problems can find answers faster.
Thank you,
please create different topics for different questions. We like to have topics separated so other users with similar problems can find answers faster.
Thank you,
Best regards,
Keneth
Keneth