Message:

   The following issue has been closed.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-312

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-312
    Summary: COM Threading Model of COM binding (xerces-com)
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: WON'T FIX

    Project: Xerces-C++
 Components: 
             COM Wrapper
   Versions:
             1.6.0

   Assignee: 
   Reporter: Thomas Rummel

    Created: Mon, 21 Jan 2002 4:33 AM
    Updated: Tue, 19 Oct 2004 10:08 AM
Environment: Operating System: Windows NT/2K
Platform: PC

Description:
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.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to