Article ID: 888103 - View products that this article applies to.
This article has been archived. It is offered "as is" and will no longer be updated.
In Microsoft Host Integration Server 2000, when you use the new Microsoft Component Object Model (COM) Transaction Integrator (COMTI) Context Array, a memory leak may occur in the Dllhost.exe process.
This problem occurs if multiple WriteContext function calls are made to the same COMTIContext keyword entry for a Context Array variable.
Service pack informationTo resolve this problem, obtain the latest service pack for Microsoft Host Integration Server 2000. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/328152/ )How to obtain the latest service pack for Host Integration Server 2000
Hotfix informationThe English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
Note Because of file dependencies, the most recent fix that contains these files may also contain additional files.
Date Time Version Size File name ------------------------------------------------------------- 20-Oct-2004 23:17 220.127.116.115 37,136 Capture.dll 20-Oct-2004 23:17 18.104.22.1685 323,856 Cedrmsgs.dll 20-Oct-2004 23:17 22.214.171.1245 33,040 Comticontext.dll 20-Oct-2004 23:17 126.96.36.1995 28,944 Comtiperf.dll 20-Oct-2004 23:17 188.8.131.525 147,728 Convert.dll 20-Oct-2004 23:17 184.108.40.2065 74,000 Convertprim.dll 20-Oct-2004 23:17 220.127.116.115 33,040 Dpl1.dll 20-Oct-2004 23:18 18.104.22.1685 823,568 Dtcob390.dll 20-Oct-2004 23:17 22.214.171.1245 311,568 Mobase.dll 20-Oct-2004 23:17 126.96.36.1995 37,136 Playback.dll 20-Oct-2004 23:17 188.8.131.525 78,096 Readlib.dll 20-Oct-2004 23:17 184.108.40.2065 123,152 Tadtlb.dll 20-Oct-2004 23:17 220.127.116.115 119,056 Tagen.dll 20-Oct-2004 23:17 18.104.22.1685 82,192 Tranlu62.dll 20-Oct-2004 23:18 22.214.171.1245 114,960 Trantcp.dll 20-Oct-2004 23:18 126.96.36.1995 49,424 Turnaround.dll 20-Oct-2004 23:16 188.8.131.525 229,648 Wappc32.dll 20-Oct-2004 23:18 184.108.40.2060 950,272 Componentbuilder.exe 20-Oct-2004 23:18 220.127.116.115 127,248 Resyncsvc.exe 29-Mar-2003 01:15 838,423 Comticb.chm 29-Mar-2003 01:15 812,988 Resnapin.chm
To work around this problem, use the ClearAllContext method or the DeleteContext method to delete the entry from the Context Array. Then, use the WriteContext function to write new entries.
The following Microsoft Visual Basic .NET code example demonstrates how to create the variables and how to use the DeleteContext and ClearAllContext methods.
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
This problem was corrected in Microsoft Host Integration Server 2000 Service Pack 2.
This hotfix examines the Context Array. Then, the hotfix deletes duplicate entries before it writes new entries.
For additional information about using the Context Array, click the following article numbers to view the articles in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/839038/ )FIX: New features are available for security credentials and host access in the COM Transaction Integrator for Host Integration Server 2000
(https://support.microsoft.com/kb/810956/ )FIX: A new feature in the COM Transaction Integrator gives the client program full control over a TRM request and lets the client program process the TRM reply