Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. ActiveQt problem
Qt 6.11 is out! See what's new in the release blog

ActiveQt problem

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    drdre
    wrote on last edited by
    #1

    Hey guys, I need to use a certain COM object through qt and I'm having trouble getting things to work. What I have done so far:

    1. I have used the cppdump tool to generate a typelib (this works)

    2. I include the generated header and cpp files to my qt project (this works)

    3. I create a new object of the COM class which I need (this works)

    4. I able to see and call the available functions, but only some work (not working)

    more specifically, all of the functions require out parameters and if I call functions that only need doubles as out parameters I get a proper value in return, but if I call functions that require a QString (original BSTR*) as out parameters they return empty as well as functions that require QVariant type out params (originally Variant*). The problem remains the same if I use dynamicCall to call these functions instead of through the generated header and cpp file. What can I do?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved