FIX: Error message when you try to load an ActiveX control in an application that you built by using Visual Basic 6.0: "Failed to load control"

Article translations Article translations
Article ID: 932924 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

When you try to load a Microsoft ActiveX control in an application that you built by using Microsoft Visual Basic 6.0, you may receive the following error message:
Failed to load control 'TestCtrl' from MyCtrl.dll. Your version of MyCtrl.dll may be outdated. Make sure you are using the version of the control that was provided with your application.
Note In this error message, TestCtrl is a placeholder for the name of the ActiveX control that you try to load. MyCtrl.dll is a placeholder for the name of the DLL that contains the ActiveX control.

This problem occurs if the following conditions are true:
  • The ActiveX control was built by using the Active Template Library (ATL).
  • The ActiveX control uses object properties of the IDispatch interface.
  • The application initializes the ActiveX control by using the IPersistStream::Load interface method.
  • The Microsoft Windows registry contains the following class identifier (CLSID) value:
    {00000000-0000-0000-0000-000000000000}

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft Visual Studio .NET 2003 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
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.

Prerequisites

The following list contains prerequisites for the hotfix:
  • Microsoft Visual Studio .NET 2003

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

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 item in Control Panel.
Collapse this tableExpand this table
File name File version File size Date Time Platform
Afx.h 56,223 17-Jul-03 23:22:14 x86
Afxisapi.h 21,792 16-Dec-05 0:38:20 x86
Array_s.cpp 9,801 14-Jun-05 17:25:44 x86
Atl.lib 14,546 3-Mar-07 2:03:15 x86
Atl71.dll 106,496 7.10.5061.0 3-Mar-07 2:03:19 x86
Atl71.dll 89,088 7.10.5061.0 3-Mar-07 2:03:15 x86
Atl71.dll 89,088 7.10.5061.0 3-Mar-07 2:03:15 x86
Atl71.dll 106,496 7.10.5061.0 3-Mar-07 2:03:19 x86
Atl71.dll 89,088 7.10.5061.0 3-Mar-07 2:03:15 x86
Atl71.pdb 2,052,096 3-Mar-07 2:03:19 x86
Atl71.pdb 2,052,096 3-Mar-07 2:03:15 x86
Atlcomcli.h 55,142 19-Jan-07 19:52:55 x86
AtlComTime.inl 17,677 18-Nov-03 5:55:06 x86
Atlevent.h 13,014 22-Jan-04 20:05:40 x86
Atlhost.h 76,374 4-May-04 19:11:05 x86
Atlmincrt.lib 61,136 3-Mar-07 2:03:11 x86
Atlmincrt.pdb 667,648 3-Mar-07 2:03:11 x86
Atls.lib 1,199,632 3-Mar-07 2:03:09 x86
Atls.pdb 1,323,008 3-Mar-07 2:03:08 x86
Atlsd.lib 1,240,236 3-Mar-07 2:03:05 x86
Atlsd.pdb 1,323,008 3-Mar-07 2:03:05 x86
Atltime.h 10,647 29-Aug-03 23:16:56 x86
Atltime.inl 14,773 29-Aug-03 23:18:11 x86
Dbcore.cpp 118,402 3-Aug-04 20:55:08 x86
Dllinit.cpp 22,956 2-Nov-04 20:46:49 x86
Eafxis.lib 325,008 3-Mar-07 2:27:15 x86
Eafxis.pdb 897,024 3-Mar-07 2:27:15 x86
Eafxisd.lib 316,444 3-Mar-07 2:27:12 x86
Eafxisd.pdb 724,992 3-Mar-07 2:27:12 x86
Filest.cpp 9,121 11-Sep-03 21:30:31 x86
Mfc71d.dll 2,187,264 7.10.5061.0 3-Mar-07 2:28:33 x86
Mfc71.dll 1,056,768 7.10.5061.0 3-Mar-07 2:29:03 x86
Mmfc71.lib 2,580,010 3-Mar-07 2:29:13 x86
Mfc71.MAP 1,604,499 3-Mar-07 2:29:03 x86
Mfc71.pdb 7,105,536 3-Mar-07 2:29:03 x86
Mfc71CHS.DLL 40,960 7.10.5061.0 3-Mar-07 2:33:26 x86
Mfc71CHT.DLL 45,056 7.10.5061.0 3-Mar-07 2:33:26 x86
Mfc71d.lib 3,361,062 3-Mar-07 2:28:46 x86
Mfc71D.MAP 2,187,277 3-Mar-07 2:28:34 x86
Mfc71d.pdb 8,326,144 3-Mar-07 2:28:33 x86
Mfc71DEU.DLL 65,536 7.10.5061.0 3-Mar-07 2:33:25 x86
Mfc71ENU.DLL 57,344 7.10.5061.0 3-Mar-07 2:33:26 x86
Mfc71ESP.DLL 61,440 7.10.5061.0 3-Mar-07 2:33:26 x86
Mfc71FRA.DLL 61,440 7.10.5061.0 3-Mar-07 2:33:25 x86
Mfc71ITA.DLL 61,440 7.10.5061.0 3-Mar-07 2:33:26 x86
Mfc71JPN.DLL 49,152 7.10.5061.0 3-Mar-07 2:33:25 x86
Mfc71KOR.DLL 49,152 7.10.5061.0 3-Mar-07 2:33:26 x86
Mfc71u.dll 1,050,624 7.10.5061.0 3-Mar-07 2:44:24 x86
Mfc71u.lib 3,348,140 3-Mar-07 2:30:47 x86
Mfc71U.MAP 1,192,844 3-Mar-07 2:44:24 x86
Mfc71u.pdb 10,415,104 3-Mar-07 2:44:24 x86
Mfc71ud.dll 2,183,168 7.10.5061.0 3-Mar-07 2:29:26 x86
Mfc71ud.lib 4,287,960 3-Mar-07 2:30:02 x86
Mfc71UD.MAP 2,235,637 3-Mar-07 2:29:26 x86
Mfc71ud.pdb 8,367,104 3-Mar-07 2:29:26 x86
Mfcdload.lib 96,244 3-Mar-07 2:26:17 x86
Mfcs71.lib 561,646 3-Mar-07 2:29:13 x86
Mfcs71.pdb 1,929,216 3-Mar-07 2:29:06 x86
Mfcs71d.lib 582,136 3-Mar-07 2:28:46 x86
Mfcs71d.pdb 1,937,408 3-Mar-07 2:28:36 x86
Mfcs71u.lib 490,054 3-Mar-07 2:36:06 x86
Mfcs71u.pdb 1,937,408 3-Mar-07 2:36:06 x86
Mfcs71ud.lib 507,600 3-Mar-07 2:30:02 x86
Mfcs71ud.pdb 1,945,600 3-Mar-07 2:29:29 x86
Nafxcw.lib 16,946,780 3-Mar-07 2:27:08 x86
Nafxcw.pdb 2,125,824 3-Mar-07 2:26:57 x86
Nafxcwd.lib 17,070,458 3-Mar-07 2:27:03 x86
Nafxcwd.pdb 2,142,208 3-Mar-07 2:26:35 x86
Nafxis.lib 142,152 3-Mar-07 2:27:10 x86
Nafxis.pdb 118,784 3-Mar-07 2:27:10 x86
Nafxisd.lib 146,194 3-Mar-07 2:27:09 x86
Nafxisd.pdb 118,784 3-Mar-07 2:27:09 x86
Objcore.cpp 6,073 17-Jul-03 23:19:06 x86
Occcont.cpp 24,323 18-Jul-03 0:21:38 x86
Occdlg.cpp 20,901 16-Jul-04 22:33:59 x86
Oledlgs1.cpp 39,089 5-Aug-04 23:07:30 x86
Oledobj2.cpp 21,661 1-Feb-05 21:37:20 x86
Olefact.cpp 16,801 20-Jan-04 21:31:03 x86
Olepset.cpp 40,431 25-Mar-04 7:32:30 x86
Olestrm.cpp 14,141 5-May-04 16:48:47 x86
Oleui2.cpp 4,156 14-Feb-06 18:05:54 x86
Statreg.h 34,214 14-Jul-04 20:47:22 x86
Uafxcw.lib 17,244,638 3-Mar-07 2:28:20 x86
Uafxcw.pdb 2,125,824 3-Mar-07 2:27:53 x86
Uafxcwd.lib 17,460,872 3-Mar-07 2:28:07 x86
Uafxcwd.pdb 2,142,208 3-Mar-07 2:27:30 x86
VC_User_Atl71_RTL_X86_---.msm 101,376 3-Mar-07 18:41:06 x86
VC_User_Mfc71_Loc_RTL_X86_---.msm 100,864 3-Mar-07 18:41:06 x86
VC_User_Mfc71_RTL_X86_---.msm 890,880 3-Mar-07 18:41:06 x86
Winctrl4.cpp 8,830 26-Oct-06 22:48:04 x86
Winfrm.cpp 65,514 17-Aug-04 21:01:00 x86
Winocc.cpp 23,623 23-Feb-05 0:04:29 x86

STATUS

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

MORE INFORMATION

For more information about software update terminology, 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

Properties

Article ID: 932924 - Last Review: October 8, 2011 - Revision: 4.0
APPLIES TO
  • Microsoft Visual Studio .NET 2003 Professional Edition
  • Microsoft Visual Studio .NET 2003 Enterprise Architect
  • Microsoft Visual Studio .NET 2003 Enterprise Developer
  • Microsoft Visual Studio .NET 2003 Academic Edition
Keywords: 
kbexpertiseinter kbexpertisebeginner kberrmsg kbfix kbbug kbprb kbqfe KB932924

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com