Print Page | Close Window

[fixed] CXTHtmlView broken in 1, invalid CLSID ?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=23628
Printed Date: 29 March 2024 at 9:17am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [fixed] CXTHtmlView broken in 1, invalid CLSID ?
Posted By: adrien
Subject: [fixed] CXTHtmlView broken in 1, invalid CLSID ?
Date Posted: 18 April 2018 at 9:29am
Hi

I'm getting 

f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\occsite.cpp(529) : AppMsg - CoCreateInstance of OLE control {C0DE1830-32A9-4CF3-BC6B-AF5D960124C2} failed.
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\occsite.cpp(530) : AppMsg - >>> Result code: 0x80040154
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\occsite.cpp(531) : AppMsg - >>> Is the control is properly registered?

when trying to create an hTML view.  Just updated from 18.0.1 to 18.3.0

I note that now the framework defines CLSID_WebBrowser to be {C0DE1830-32A9-4CF3-BC6B-AF5D960124C2}

18.0.1 used the value from ExDisp.h which is EXTERN_C, so presumably linked from somewhere, although there's a GUID defined immediately after which is 8856F961-340A-11D0-A96B-00C04FD705A2 which exists in CLSID in my registry as Microsoft Web Browser.

where on earth did this GUID ({C0DE1830-32A9-4CF3-BC6B-AF5D960124C2}) come from?  It's not in any SDK I can find.  Can't even google it.


-------------
http://www.wingate.com - http://www.wingate.com



Replies:
Posted By: adrien
Date Posted: 18 April 2018 at 9:38am
Hang on, I see a crap load of C0DE1830.... is that standing for CodeJock 18.3?

Why on earth would you break all those CLSIDs?

I'm using the C++ library.  THe comment in the header looks like it's for the OCX version???

"XTPControlsIIDs.h: GUID definitions for SuiteCtrls.odl."

I'm currently blocked on this, as I need to instantiate several HTML views.

I don't expect stuff like this to break like this on a point upgrade.  Not happy, and wondering why I pay for renewals.


-------------
http://www.wingate.com - http://www.wingate.com


Posted By: adrien
Date Posted: 18 April 2018 at 9:52am
OK, so I "fixed" it.... maybe...

I had to search for all include statements for XTPControlsIIDs.h

I found 3, commented them all out, and rebuilt the libraries.

I can now create HTML views ok.  Hope I haven't just broken a heap of stuff.

From the comment, it looks like this is for SuiteControls only, and should not be included in the C++ / MFC builds.

The 3 files that included the header were:

XTPPopupItem.cpp
XTPTaskbarManager.cpp
XTPTagCloudCtrl.cpp





-------------
http://www.wingate.com - http://www.wingate.com


Posted By: astoyan
Date Posted: 23 April 2018 at 6:50pm
Thank you for reporting this. You're right, it's been added solely for ActiveX and apparently possible name conflict has been overlooked as there were too many COM classes to process.

By temporarily removing XTPControlsIIDs.h inclusions you haven't broken anything as you are not compiling it for ActiveX configuration, so do not worry about it.

The issue has been fixed and prevented from happening for any other possible future conflicts. The fix will be available in v18.4.

Regards,
  Alexander



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net