Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Exceptions en masse in XTPXMLHelpers.cpp
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Exceptions en masse in XTPXMLHelpers.cpp

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


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 647
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Topic: Exceptions en masse in XTPXMLHelpers.cpp
    Posted: 08 May 2024 at 6:58am
I get exceptions en masse in XTPXMLHelpers.cpp

Exception thrown at 0x758EFAE2 (KernelBase.dll) in my.exe: 0xE0000001 (parameters: 0x80004005).
Exception thrown at 0x758EFAE2 (KernelBase.dll) in my.exe: 0xE0000001 (parameters: 0x80004005).
Exception thrown at 0x758EFAE2 (KernelBase.dll) in my.exe: 0xE0000001 (parameters: 0x80004005).
Exception thrown at 0x758EFAE2 (KernelBase.dll) in my.exe: 0xE0000001 (parameters: 0x80004005).
Exception thrown at 0x758EFAE2 (KernelBase.dll) in my.exe: 0xE0000001 (parameters: 0x80004005).
Exception thrown at 0x758EFAE2 (KernelBase.dll) in my.exe: 0xE0000001 (parameters: 0x80004005).

In every setProperty call:
if (0 != (fDisableProps & xtpXmlDomAllowDocumentFunction))
pDoc2->setProperty(_bstr_t(L"AllowDocumentFunction"), _variant_t(false));
if (0 != (fDisableProps & xtpXmlDomAllowXsltScript))
pDoc2->setProperty(_bstr_t(L"AllowXsltScript"), _variant_t(false));
if (0 != (fDisableProps & xtpXmlDomForcedResync))
pDoc2->setProperty(_bstr_t(L"ForcedResync"), _variant_t(false));
if (0 != (fDisableProps & xtpXmlDomMultipleErrorMessages))
pDoc2->setProperty(_bstr_t(L"MultipleErrorMessages"), _variant_t(false));
if (0 != (fDisableProps & xtpXmlDomNewParser))
pDoc2->setProperty(_bstr_t(L"NewParser"), _variant_t(false));
if (0 != (fDisableProps & xtpXmlDomNormalizeAttributeValues))
pDoc2->setProperty(_bstr_t(L"NormalizeAttributeValues"), _variant_t(false));
Product: Xtreme ToolkitPro (22.1.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
Back to Top
astoyan View Drop Down
Admin Group
Admin Group
Avatar

Joined: 24 August 2013
Status: Offline
Points: 298
Post Options Post Options   Thanks (0) Thanks(0)   Quote astoyan Quote  Post ReplyReply Direct Link To This Post Posted: 14 May 2024 at 5:01pm
What CLSID value is being used for XML document instance creation earlier in that method?
Also I suspect that this behavior may depend on OLE/COM initialization method. How is it initialized for the app?

Also it makes sense to give it a try with the latest beta release of v24.0, and possibly experiment with the new COM/OLE initialization it provides (one of XTPComInit values passed to CXTPWinApp constructor).
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.094 seconds.