Microsoft KB Archive/838190

= ActiveX controls may not be created during run time in a Visual C++ .NET 2003 application =

Article ID: 838190

Article Last Modified on 10/25/2005

-

APPLIES TO


 * Microsoft Visual Studio .NET 2003 Enterprise Architect
 * Microsoft Visual Studio .NET 2003 Enterprise Developer
 * Microsoft Visual Studio .NET 2003 Academic Edition

-





SYMPTOMS
In a Microsoft Visual C++ .NET 2003 Microsoft Foundation Classes (MFC) application, ActiveX controls may not be created during application run time if the values that are passed to create the controls are of the ULONG data type.



RESOLUTION
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it 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 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:

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.

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 -- 18-Jul-2003 00:22                     56,223  Afx.h 29-Mar-2004  17:02  7.10.4089.0       106,496  Atl71.dll 18-Nov-2003 05:55                     17,677  Atlcomtime.inl 22-Jan-2004 20:05                     13,014  Atlevent.h 29-Mar-2004  17:02                  1,199,632  Atls.lib 29-Mar-2004 17:01                  1,240,238  Atlsd.lib 30-Aug-2003 00:16                     10,647  Atltime.h 30-Aug-2003  00:18                     14,773  Atltime.inl 29-Mar-2004 17:51                    319,746  Eafxis.lib 29-Mar-2004 17:51                    310,128  Eafxisd.lib 11-Sep-2003 22:30                      9,121  Filest.cpp 29-Mar-2004 18:35  7.10.4089.0     1,060,864  Mfc71.dll 29-Mar-2004 17:55                  2,580,010  Mfc71.lib 29-Mar-2004 18:03  7.10.4089.0        40,960  Mfc71chs.dll 29-Mar-2004 18:03  7.10.4089.0        45,056  Mfc71cht.dll 29-Mar-2004 17:54  7.10.4089.0     2,183,168  Mfc71d.dll 29-Mar-2004 17:54                  3,361,062  Mfc71d.lib 29-Mar-2004 18:03  7.10.4089.0        65,536  Mfc71deu.dll 29-Mar-2004 18:04  7.10.4089.0        57,344  Mfc71enu.dll 29-Mar-2004 18:03  7.10.4089.0        61,440  Mfc71esp.dll 29-Mar-2004 18:03  7.10.4089.0        61,440  Mfc71fra.dll 29-Mar-2004 18:03  7.10.4089.0        61,440  Mfc71ita.dll 29-Mar-2004 18:03  7.10.4089.0        49,152  Mfc71jpn.dll 29-Mar-2004 18:03  7.10.4089.0        49,152  Mfc71kor.dll 29-Mar-2004 18:27  7.10.4089.0     1,048,064  Mfc71u.dll 29-Mar-2004 17:59                  3,348,140  Mfc71u.lib 29-Mar-2004 17:56  7.10.4089.0     2,178,048  Mfc71ud.dll 29-Mar-2004 17:57                  4,287,960  Mfc71ud.lib 29-Mar-2004 18:08                    555,888  Mfcs71.lib 29-Mar-2004 17:54                    582,136  Mfcs71d.lib 29-Mar-2004 18:09                    490,054  Mfcs71u.lib 29-Mar-2004 17:57                    507,600  Mfcs71ud.lib 29-Mar-2004 17:51                 16,911,302  Nafxcw.lib 29-Mar-2004 17:51                 17,041,242  Nafxcwd.lib 29-Mar-2004 17:51                    129,138  Nafxis.lib 29-Mar-2004 17:51                    132,454  Nafxisd.lib 18-Jul-2003 00:19                      6,073  Objcore.cpp 18-Jul-2003 01:21                     24,323  Occcont.cpp 20-Jan-2004 21:31                     16,801  Olefact.cpp 25-Mar-2004 07:32                     40,431  Olepset.cpp 29-Mar-2004 17:53                 17,209,942  Uafxcw.lib 29-Mar-2004 17:53                 17,433,084  Uafxcwd.lib 30-Mar-2004 20:09                    101,376  Vc_user_atl71_rtl_x86_---.msm 30-Mar-2004 20:09                    100,864  Vc_user_mfc71_loc_rtl_x86_---.msm 30-Mar-2004 20:09                    919,040  Vc_user_mfc71_rtl_x86_---.msm



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Additional query words: Run time ActiveX control ULONG

Keywords: kbbug kbfix kbqfe kbvsnet2003presp1fix kbhotfixserver KB838190

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.