Skip to main content

PC*Miler Connect with C# (Sharp)

Sample C# (Sharp) source code is in the ...\ALK Technologies\PCMILERXX\Connect\CSharp folder. The file is called testconnect.cs.

Sample C# (Sharp) source code with external API function declarations is in the ...\ALK Technologies\PCMILERXX\Connect\PCMDLLINT folder. The file is called PCMDLL.cs. This file is compiled and builds a wrapper DLL called pcmdllint.dll which can be used by C# applications or VB.NET applications.

You can also add more of the Connect functions to this wrapper following the data type rules below.

  • Use int or integer for longs and shorts. NOTE: The tripID should be declared as int or integer.
  • Use StringBuilder for returned strings.
  • Use ref or ByRef for long/int/short pointers to returned pointers.

A full list of functions is available in the pcmstrip.h file, which can be found in the ...\ALK Technologies\PCMILERXX\C_CPP\CSharp\StaticLink\pcmsrv32 folder. Enter the function name in the search bar at the top of this page to learn more about how it works.

Last updated July 8, 2025.