BUG: Can't Insert CE ActiveX Control onto a Dialog Box in the Resource Editor (221083)
The information in this article applies to:
- Microsoft Windows CE Toolkit for Visual C++ 5.0
- The Microsoft Active Template Library (ATL) 2.1, when used with:
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
This article was previously published under Q221083 SYMPTOMS
Inserting a WCE ActiveX control onto a dialog box in the Resource Editor causes the following error:
The ActiveX control {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} is not registered on this computer. Register control and try again.
CAUSE
The Resource Editor is looking for a desktop (x86) version of the control.
RESOLUTION
Right-click the dialog box in the Resource Editor and select the option Insert WCE ActiveX Control. Select the control and it will be inserted onto the dialog box. This resolution still causes the same error message to appear when you open the dialog box in the Resource Editor, but the message is harmless and can be ignored.
To avoid the error message altogether, you can build a desktop version of the control and insert this version instead of the WCE version. You'll need to create a Win32 build configuration:
- From the Build menu, click Configurations.
- Click Win32 (WCE x86em) Release.
- Click Add.
- Select Win32 from the Platform drop-down list.
- Click OK to create the new configuration.
Select the Win32 Release configuration and rebuild the control. You also need to register it by clicking Register Control from the Tools menu. To insert the desktop version of the control, just select it from the list of Registered ActiveX Controls instead of Registered WCE ActiveX Controls.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCES
For additional information, please see the following
article in the Microsoft Knowledge Base:
229579 PRB: CE ActiveX Control Is Not in List of Insertable Controls
Modification Type: | Major | Last Reviewed: | 12/8/2003 |
---|
Keywords: | kbBug kbCtrl kbCtrlCreate kbnofix kbNoUpdate KB221083 |
---|
|