PCAN-API (CANAPI2.DLL) Version History

23.02.2011 - Version 2.56.2

  • Small memory leak fixed

 


12.05.2010 - Version 2.56.1

  • Type of value parameter in CAN_Set..Param() functions was changed from DWORD to UINT_PTR, to make it possible to pass 64-bit pointers to the API DLL on 64-bit platforms
  • Added support for PCAN-USB Pro Error Generator feature
  • Added support for new device "PCAN_VIRTUAL"

 


09.07.2009 - Version 2.55.0

  • The initialization of the DLL is no longer carried out when loading the DLL, but only if the first API function is called
  • Bug  fix: If CAN_SetDeviceName was called with an unsupported device name parameter, the DLL used a previously opened device for subsequent API calls instead of returning the error code CAN_ERR_NODRIVER
  • Bug  fix: If the DLL was loaded after system start first from a Windows service using System account privileges, accessing the DLL functions was no longer possible with normal user privileges
  • Bug  fix: CAN_GetErrText did not return strings for the error codes CAN_ERR_UNKNOWN and CAN_ERR_ILLFUNCTION

 


09.05.2008 - Version 2.49.5

  • Supports a new data transfer mechanism between device driver and DLL that was introduced with PCAN drivers V2.49

 


18.05.2006 - Version 2.48.1

  • A call to CAN_SetDeviceName no longer closes a previously opened device if the device name is different. All devices are now being kept open until the DLL is unloaded. This reduces the overhead when switching repeatedly between devices
  • CAN_Read_Multi now uses a safe non-paged memory block to transfer received messages from the driver to the calling application, to make the data transfer safer and to prevent Blue Screens

 


05.11.2004 - Version 2.47.1

  • New API function CAN_RemoveAllMsgs

 


29.10.2004 - Version 2.47.0

  • New API function CAN_SetClientFilterEx

 


23.04.2004 - Version 2.46.0

  • New API functions CAN_RegisterMemory, CAN_GetMemory, and CAN_RemoveMemory to allocate non-paged memory. All function parameters are copied using a safe non-paged memory block before calling into the device driver

 


26.11.2003 - Version 2.43.1

  • Bug  fix: CAN_SetDriverParam and CAN_VersionInfo still did not use the Mutex object, which was introduced in V2.20.1 to serialize the API function calls

 


31.01.2003 - Version 2.42.0

  • Bug  fix: Conversion of Receive Event Handles did not work correctly for Non-WDM Windows 95/98 drivers

 


16.12.2002 - Version 2.41.1

  • New API function CAN_Read_Multi
  • Some API functions did not use the Mutex object, which was introduced in V2.20.1 to serialize the API function calls

 


25.04.2002 - Version 2.39.0

  • New API function CAN_SetClientFilter

 


23.08.2001 - Version 2.31.0

  • Bug  fix: The Receive Event Handle was not converted in dependency of the used platform before it was passed to the device driver

 


26.06.2001 - Version 2.20.4

  • The DLL reads the Registry value HKLM\Software\PEAK-System\CanApi2\Device when the DLL is loaded to determine the device that shall be opened by default

 


27.04.2001 - Version 2.20.2

  • Bug  fix: CAN_SetDeviceName did not close a previously opened device

 


20.02.2001 - Version 2.20.1

  • A Mutex object is used to serialize calls of the API functions

 


28.11.2000 - Version 2.20.0:

  • New API functions CAN_SetDriverParam and CAN_GetDriverParam