You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2002/01/21 13:33:37 UTC
DO NOT REPLY [Bug 5936] New: -
COM Threading Model of COM binding (xerces-com)
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5936>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5936
COM Threading Model of COM binding (xerces-com)
Summary: COM Threading Model of COM binding (xerces-com)
Product: Xerces-C++
Version: 1.6.0
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Minor
Priority: Other
Component: Utilities
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: Thomas.Rummel@softing.com
The Xerces COM wrapper (xerces-com) should be a replacement for the MSXML
parser. xerces-com supports only appartment threaded applications (COM STA) but
MSXML supports free and appartment threaded applications (COM STA and COM MTA).
This leads to a very bad performance if xerces-com is used in an COM MTA
application.
If the COM binding supports both threading models it's a real replacement
for the MSXML DOM parser.
Changes:
1) All the COM wrapper classes inherit from:
CComObjectRootEx<CComSingleThreadModel>
they have to inherit from:
CComObjectRootEx<CComMultiThreadModel>
2) Remove the line
#define _ATL_APARTMENT_THREADED
from src\com\stdafx.h
3) The rgs scripts have to be changed.
ThreadingModel from 'Apartment' to 'Both'?
With my application this xerces-com works without any problem.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org