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 3674904
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T02:54:39+00:00 2026-05-19T02:54:39+00:00

i try to get a selected text and the word under mouse in firefox

  • 0

i try to get a selected text and the word under mouse in firefox

after a lot of search i get the solution that i must access a document’s HTML in Firefox using IAccessible

i found that solution in c++ in this link
How to access a document's HTML in Firefox using IAccessible

the solution use ISimpleDOMNode.idl file so the first step to convert that solution from c++ to c# is convert

ISimpleDOMNode.idl to tlb file and convert tlb to dll fill

i try to use VS Command Prompt with this command to convert to tlb file
midl ISimpleDOMNode.idl

but That generate ISimpleDOMNode.h and ISimpleDOMDocument.h, which define the interfaces. It also create ISimpleDOMNode_i.c and ISimpleDOMDocument_i.c but there is no tlb file

what is the wrong ?

this the link of ISimpleDOMNode.idl file

http://www.4shared.com/file/MddCFmXa/ISimpleDOMNode.html

  • 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-19T02:54:40+00:00Added an answer on May 19, 2026 at 2:54 am
    interface ISimpleDOMNode : IUnknown {
        // etc..
    }
    

    That’s where the buck stops, IUnknown derived interfaces are not Automation compatible. They are usable from C++ code, note the .h files generated by midl and the amount of cpp_quote() in the .idl file. An Automation compatible COM interface is derived from IDispatch and uses the sub-set of Automation compatible types for the function arguments. Variant, BSTR and SafeArray are popular choices.

    Technically it is possible to re-declare the interface types in C# code, you just don’t get any help from a type library to get that right. And you’ll have to deal with the no-multiple-inheritance headache (not this one). Tlbimp.exe is powerless without a type library.

    Use C++/CLI to get this going, you can write a ref class wrapper and you can #include the .h file.

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

Sidebar

Related Questions

When I try to do that I get the following error: Changes to 64-bit
I decided that I was ready to try something new, after a few years
I try get the mp3 flash player to work with my javascript on all
I face a problem when I try to get value from primary table in
I'm trying to use Chronic inside my non-rails project. When I try to get
is it possible to make beep in WinCE ? i try and i get
I get a generic failure when I try to run: saslpasswd2 username This was
I get the above error whenever I try and use ActionLink ? I've only
I get the following error when I try to compile an asp.net site using
I continually get these errors when I try to update tables based on another

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.