Print Page | Close Window

Exceptions en masse in XTPXMLHelpers.cpp

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=24477
Printed Date: 02 June 2024 at 1:28pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Exceptions en masse in XTPXMLHelpers.cpp
Posted By: cpede
Subject: Exceptions en masse in XTPXMLHelpers.cpp
Date 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++)



Replies:
Posted By: astoyan
Date 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).



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