FIX: A CPI-C application may fail with a 0xc0000008 (invalid HANDLE) exception in a Host Integration Server 2010 environment


You have an application that uses the Common Programming Interface for Communications (CPI-C) programming interface in a Microsoft Host Integration Server 2010 environment. When you run the application, you may receive an exception message that resembles the following:
    0xc0000008 - An invalid HANDLE was specified.


This issue may occur when you try to implement a Cancel_Conversation call (function name cmcanc) to cancel outstanding CPI-C operations. In this case, a race condition may occur and cause the routing control block (RCB) to be freed two times.


Hotfix information

The hotfix that resolves this issue is included in cumulative update package 3 for Host Integration Server 2010.

For more information about how to obtain the cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
2654652 Cumulative update package 3 for Host Integration Server 2010


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

ID articolo: 2657419 - Ultima revisione: 22 feb 2012 - Revisione: 1