Article ID: 841816
Article Last Modified on 6/1/2006
APPLIES TO
- Microsoft Visual Studio .NET 2003 Academic Edition
- Microsoft Visual Studio .NET 2003 Enterprise Architect
- Microsoft Visual Studio .NET 2003 Enterprise Developer
- Microsoft Visual Studio .NET 2003 Professional Edition
SYMPTOMS
When ActiveX controls are hosted in windows that are created by using the CAxWindow class, and then the windows are destroyed, the process of creating and of destroying the hosting window causes a handle leak. This problem occurs if none of the properties of the ActiveX controls are set.
If the process of creating and of destroying the windows is performed frequently, the process leads to handle starvation and unexpected application behavior. When ActiveX controls are hosted on the CAxWindow class, Microsoft Active Template Library (ATL) allocates a global handle that is not freed when the window is destroyed. This causes a handle leak.
RESOLUTION
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.
To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
The 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.
Date Time Version Size File name -------------------------------------------------------------- 17-Jul-2003 21:22 56,223 Afx.h 05-May-2004 01:45 14,546 Atl.lib 05-May-2004 01:45 7.10.4126.0 89,088 Atl71.dll 18-Nov-2003 01:55 17,677 Atlcomtime.inl 22-Jan-2004 16:05 13,014 Atlevent.h 04-May-2004 17:11 76,374 Atlhost.h 05-May-2004 01:44 1,199,632 Atls.lib 05-May-2004 01:44 1,240,236 Atlsd.lib 29-Aug-2003 21:16 10,647 Atltime.h 29-Aug-2003 21:18 14,773 Atltime.inl 05-May-2004 02:33 319,746 Eafxis.lib 05-May-2004 02:33 310,128 Eafxisd.lib 11-Sep-2003 19:30 9,121 Filest.cpp 05-May-2004 02:36 7.10.4126.0 2,183,168 Mfc70d.dll 05-May-2004 03:18 7.10.4126.0 1,060,864 Mfc71.dll 05-May-2004 02:37 2,580,010 Mfc71.lib 05-May-2004 02:45 7.10.4126.0 40,960 Mfc71chs.dll 05-May-2004 02:45 7.10.4126.0 45,056 Mfc71cht.dll 05-May-2004 02:36 3,361,062 Mfc71d.lib 05-May-2004 02:45 7.10.4126.0 65,536 Mfc71deu.dll 05-May-2004 02:45 7.10.4126.0 57,344 Mfc71enu.dll 05-May-2004 02:45 7.10.4126.0 61,440 Mfc71esp.dll 05-May-2004 02:45 7.10.4126.0 61,440 Mfc71fra.dll 05-May-2004 02:45 7.10.4126.0 61,440 Mfc71ita.dll 05-May-2004 02:45 7.10.4126.0 49,152 Mfc71jpn.dll 05-May-2004 02:45 7.10.4126.0 49,152 Mfc71kor.dll 05-May-2004 03:10 7.10.4126.0 1,048,064 Mfc71u.dll 05-May-2004 02:40 3,348,140 Mfc71u.lib 05-May-2004 02:38 7.10.4126.0 2,178,048 Mfc71ud.dll 05-May-2004 02:39 4,287,960 Mfc71ud.lib 05-May-2004 02:50 555,888 Mfcs71.lib 05-May-2004 02:36 582,136 Mfcs71d.lib 05-May-2004 02:51 490,054 Mfcs71u.lib 05-May-2004 02:39 507,600 Mfcs71ud.lib 05-May-2004 02:33 16,911,250 Nafxcw.lib 05-May-2004 02:33 17,041,064 Nafxcwd.lib 05-May-2004 02:33 129,138 Nafxis.lib 05-May-2004 02:33 132,454 Nafxisd.lib 17-Jul-2003 21:19 6,073 Objcore.cpp 17-Jul-2003 22:21 24,323 Occcont.cpp 20-Jan-2004 17:31 16,801 Olefact.cpp 25-Mar-2004 03:32 40,431 Olepset.cpp 07-Apr-2004 21:23 13,810 Olestrm.cpp 05-May-2004 02:35 17,209,838 Uafxcw.lib 05-May-2004 02:35 17,433,080 Uafxcwd.lib 05-May-2004 14:26 101,376 Vc.user.atl71.rtl.x8 05-May-2004 14:26 100,864 Vc.user.mfc71.loc.rtl.x8 05-May-2004 14:26 919,552 Vc.user.mfc71.rtl.x8 27-Mar-2004 00:40 19,190 Winocc.cpp
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
MORE INFORMATION
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
Keywords: kbfix kbbug kbhotfixserver kbqfe KB841816