Results 1 to 9 of 9

Thread: Access a COM object directly through its IDispatch implementation.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2008
    Posts
    8
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Access a COM object directly through its IDispatch implementation.

    did you try using "dumpcpp" tool to generate API files ?

  2. #2
    Join Date
    Jul 2010
    Posts
    6
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Access a COM object directly through its IDispatch implementation.

    Yes. Just as I said in my second post.
    Qt Code:
    1. TYPELIBS = $$system( dumpcpp Disto2.tlb -nometaobject )
    To copy to clipboard, switch view to plain text mode 
    Had to use the -nometaobject because I got a error if I didn't. Then I include the header files produced. That is working ok I think.

    The problem as I see it (might be totally wrong) is that my functions that I need to call returns a IDispatch* which I have no idea how to use. I want it to magically convert to a class defined in my type library called DistoMeasureProxy.

Similar Threads

  1. Replies: 5
    Last Post: 15th June 2010, 07:42
  2. Replies: 4
    Last Post: 9th February 2010, 17:08
  3. How to access an object inside a privateslot
    By graciano in forum Qt Programming
    Replies: 7
    Last Post: 21st January 2009, 18:09
  4. Access an object stored in the list.
    By cbarmpar in forum General Programming
    Replies: 2
    Last Post: 21st September 2008, 20:19
  5. Access an object from another file.
    By cbarmpar in forum General Programming
    Replies: 1
    Last Post: 6th September 2008, 22:17

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.