[Home] [By Thread] [By Date] [Recent Entries]

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


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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member