IXMLDOMNodeList across process boundaries? 
Author Message
 IXMLDOMNodeList across process boundaries?

Are there any known issues with passing IXMLDOMNodeList** across process
boundaries?  I have an IIS extension that creates an CLSCTX_LOCAL_SERVER
object and then calls a method on the object and passes a ptr to
IXMLDOMNodeList* to be filled in using a query string.  The query works,
and the IXMLDOMNodeList* is returned, but when the IIS extension tries
to access members, it accvio's.  I've worked around by doing the
processing in the same proc that does the query, and returning a
SAFEARRAY of resulting strings.  

--
Thanks,
Ed Pfromer



Sat, 06 Mar 2004 22:19:46 GMT  
 IXMLDOMNodeList across process boundaries?
Hi Ed,

Thanks for using Microsoft products.

1.      MSXML does not support cross-process marshaling. When marshalling
IXMLDOMNodeList interface, the AV will occur. The general recommendation is
not to use MSXML interfaces cross-process. Any alternative is to persist
your XML to a buffer and then reload it in the new process. This may also
be a good practice for performance sake.  
2.      MSXML support inter-apartment in-process marshaling. The apartment model
objects *can* be used from multiple threads, just only from one thread at a
time.
3.      If you install Platform SDK, please find the XMLDOM.IDL file. In the
Interface header attributes, the IXMLDOMNodeList is marked as local, it
indicates that this interface is not remotable and no stubs will be
generated.

Best Regards,

Bill

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.

?2001 Microsoft Corporatioin. All rights reserved.



Mon, 08 Mar 2004 09:24:50 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. IPicture across process boundaries

2. Throwing com exceptions across process boundaries...

3. Connection Point Events Across Processes Boundaries?

4. Can't pass IIDs properly across process boundaries

5. Passing Socket handles across process boundaries??

6. Can't pass IIDs properly across process boundaries

7. _com_error thrown across machine boundaries

8. Exceptions Across DLL Boundaries?

9. inheritance across dll boundaries

10. STL and string memory allocation across a DLL boundary

11. C# as converter across Assembly boundaries

12. Re : Interface pointers over process boundaries

 

 
Powered by phpBB® Forum Software