I want to point out that the C# part of the API employs using alias directives to define aliases to support PEAK-specific naming conventions and in the process ends up hiding system types in Intellisense QuickInfo.
For instance, in the PCANBasic.cs file, there is this directive:
Code: Select all
using TPCANBitrateFD = System.String;
In order to use the various aliased constants, it is necessary to add the directive to alias the Peak.Can.Basic namespace to all my code that deals with PCAN, or be forced to fully qualify every single reference. When you do that, every instance of the aliased type is replaced, accordingly:

- Untitled.png (12.61 KiB) Viewed 2592 times
In this case, the "string" type is being replaced by "TPCANBitrateFD". I don't know what other issues may be related to it, but I thought I'd bring this up to your attention. I can't help but think that there is a better way to do that.
Kamen
SAKOR Technologies, Inc.