Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

Symptoms

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.

↑ Back to the top


Cause

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.

↑ Back to the top


Resolution

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

↑ Back to the top


Status

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

↑ Back to the top


Keywords: kbqfe, kbfix, kbnotautohotfix, kbexpertiseinter, kbbug, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 2657419
Revision : 1
Created on : 1/7/2017
Published on : 2/22/2012
Exists online : False
Views : 214