Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3391516
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T03:48:44+00:00 2026-05-18T03:48:44+00:00

I have knowledge on C++ and C#, but COM is an Alien to me.

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T03:48:44+00:00Added an answer on May 18, 2026 at 3:48 am

    SAX Parser is asynchronous (event based) parser – generally, you start the parser giving it xml file/stream and it will raise events as it encounters various xml nodes. Being COM library, it uses COM event model where generally component (parser in this case) would define an callback interface (there are other interfaces that allowed to register for events etc).

    So ISAXContentHAndler is an callback interface that is supposed to be implemented by code using the parser. You will find that somewhere in code, SAXXMLReader component being created and then the contentHandler property on ISAXXMLReader being set to the instance of class that is implementing ISAXContentHAndler.

    You will find calls made to this interface in your code because its the SAX parser that would be calling methods on this interface – for example, whenever it encounters start tag of any element, it would call startElement method on this interface.

    See these links to understand SAX better:
    http://msdn.microsoft.com/en-us/library/ms753774(v=VS.85).aspx
    http://msdn.microsoft.com/en-us/library/ms763771(v=VS.85).aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to make a reservations formula but I have very low knowledge
I have little knowledge of Flash but for a little Flash game I have
I have good knowledge on the working of a traditional .dll . Also the
i have a input tag which is non editable, but some times i need
I have some basic knowledge of Mod Rewrite, but I can't figure this out!
I have some knowledge on my question but not exactly. What exactly programatically happening
i currently have highcharts realtime graph working on a browser (e.g. http://www.highcharts.com/demo/dynamic-update ), but
I have many sub pages, there urls like www.domain.com/sub/page1.php www.domain.com/sub/page2.php ... Now when I
I have limited knowledge of Java-based technologies, and for business enforced reasons, I may
I have good knowledge on C++ (not C) and recently bought a Symbian-based phone.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.