[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Xerces: DOM document object from VB.Net2005 to DOM document object in MF

  • From: "Arshad Awan" <arshadawan115@g...>
  • To: xml-dev@l...
  • Date: Wed, 26 Nov 2008 16:30:23 +0100

Xerces: DOM document object from VB.Net2005 to DOM document object in MF

Hello all,
I have two applications, one in MFC(VC++.NET 2005) and one in http://VB.NET 2005. I need to use functions from both. I am facing a problem as below:

I have a function in http://VB.NET

Public Function Write(ByRef doc As Xerces.IXMLDOMDocument, ByRef element As Xerces.IXMLDOMElement) As String

         Write_DLL(doc, element) // MFC function call

    End Function

and a function in VC++.Net 2005 (MFC)

extern "C" __declspec( dllexport ) char* Write_DLL(xercesc_2_8::DOMDocument* pDoc, xercesc_2_8::DOMElement* pElem)
{
      //wants to use pDoc here
}


and I want to pass a DOM document object from VB.Net2005 to function(DOM document object) in MFC (VC++.NET 2005),
when I call Write_DLL(doc, element)  then there is some error
I am not sure how I can do this task. can any one tell me how I can  pass a DOM document object from VB.Net2005 to function(DOM document object) in MFC (VC++.NET 2005) and vice versa?
--
Regards,
Arshad





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.