I have knowledge on C++ and C#, but COM is an Alien to me. I have a VC++ COM DLL in which all the methods of the interface ISAXContentHandler (of msxml6.DLL) like startElement(), endElement,processingInstructions(), characters(), etc.. are implemented. i.e these interface methods are given an implentation in the VC++ COM DLL. I want to convert this VC++ COM DLL to C# DLL so that I can call this converted C# DLL from my C# application.
I am not understanding that FROM WHERE ARE THESE INTERFACE METHODS BEING CALLED. Because there is NO "Function Call statement" being made from within my VC++ COM DLL.
For Example: ----- one of the interface methods implemented in the VC++ COM DLL starts like this- -->
**HRESULT STDMETHODCALLTYPE ContentHandler_SAX::startElement(
/* [in] */ wchar_t __RPC_FAR *pwchNamespaceUri,
/* [in] */ int cchNamespaceUri,
/* [in] */ wchar_t __RPC_FAR *pwchLocalName,
/* [in] */ int cchLocalName,
/* [in] */ wchar_t __RPC_FAR *pwchRawName,
/* [in] */ int cchRawName,
/* [in] */ ISAXAttributes __RPC_FAR *pAttributes)**
The clas is implementing ISAXContentHAndler interface from msxml6.dll.
I just know that SAXContentHandler is a XML parser. I dont know what are these parameters for this function and also they are using _RPC keyword along with d parameter name. And I dont understand, FROM WHERE are these functions being called.