Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - [fixed] CXTHtmlView broken in 1, invalid CLSID ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[fixed] CXTHtmlView broken in 1, invalid CLSID ?

 Post Reply Post Reply
Author
Message
adrien View Drop Down
Senior Member
Senior Member


Joined: 30 April 2007
Location: New Zealand
Status: Offline
Points: 449
Post Options Post Options   Thanks (1) Thanks(1)   Quote adrien Quote  Post ReplyReply Direct Link To This Post Topic: [fixed] CXTHtmlView broken in 1, invalid CLSID ?
    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.
Back to Top
adrien View Drop Down
Senior Member
Senior Member


Joined: 30 April 2007
Location: New Zealand
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote adrien Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
adrien View Drop Down
Senior Member
Senior Member


Joined: 30 April 2007
Location: New Zealand
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote adrien Quote  Post ReplyReply Direct Link To This Post 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



Back to Top
astoyan View Drop Down
Admin Group
Admin Group
Avatar

Joined: 24 August 2013
Status: Offline
Points: 304
Post Options Post Options   Thanks (0) Thanks(0)   Quote astoyan Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.219 seconds.