[fixed] CXTHtmlView broken in 1, invalid CLSID ? |
Post Reply |
Author | |
adrien
Senior Member Joined: 30 April 2007 Location: New Zealand Status: Offline Points: 449 |
Post Options
Thanks(1)
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.
|
|
adrien
Senior Member Joined: 30 April 2007 Location: New Zealand Status: Offline Points: 449 |
Post Options
Thanks(0)
|
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.
|
|
adrien
Senior Member Joined: 30 April 2007 Location: New Zealand Status: Offline Points: 449 |
Post Options
Thanks(0)
|
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 |
|
astoyan
Admin Group Joined: 24 August 2013 Status: Offline Points: 303 |
Post Options
Thanks(0)
|
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |