Impact Acquire SDK Python
Handle Leak When Updating The Device List

Symptoms

When working with GigE Vision™ compliant devices thus when having the GenICam™ GenTL related parts of the Impact Acquire framework installed on a Windows system OR when using the GenICam™ GenTL compliant producer mvGenTLProducer.cti on a Windows system to enumerate devices a handle leak may occur.

Cause

This problem may occur when one of the following conditions is true:

  • Your program uses mvGenTLProducer.cti with a version of 2.5.17 - 2.5.20
  • Your program uses LoadLibrary calls and FreeLibrary calls to load and to unload the mvGenTLProducer.cti or mvDeviceManager.dll and calls between these LoadLibrary calls and FreeLibrary calls.

Resolution

This is caused by a known issue in Iphlpapi.dll. If possible update to a Impact Acquire version greater than 2.5.20 and do NOT constantly load and unload the libraries mentioned above. When constant load and unload operations can't be avoided in your software consider installing the hotfix provided by Microsoft. For details see http://support.microsoft.com/kb/836769/