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. [QAxServer] Allow control of my existing Qt application from other apps (windows only)
Forum Updated to NodeBB v4.3 + New Features

[QAxServer] Allow control of my existing Qt application from other apps (windows only)

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.5k 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.
  • J Offline
    J Offline
    JulienMaille
    wrote on last edited by
    #1

    Hi folks,
    I want to expose a small subset of my application methods to other applications through a kind of COM control.
    I don't want my app to be an activex that you include in your project, I'm just interested in the possibility of controlling it from another application.

    My first idea was to use QtScript + socket connection, but that means a lot of parsing at both sides.
    I think that QAxServer could make everything simple, and "windows only" in not an issue for me.
    However from all the different ActiveQt exemples, I'm not sure which one is the closest to what I'm trying to do.

    Thanks for your help!

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

      DO I understand correctly:

      You want to make an executable with a COM interface? Is that what you expect?

      If yes, the theoretical way is you must create a COM singleton there so no new COM object is created on a CoCreateInstance from the client. I'm not sure, whether that works with QAxServer.

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0
      • J Offline
        J Offline
        JulienMaille
        wrote on last edited by
        #3

        Thanks for your answer Gerolf.
        So, yes I want to add a COM interface to my executable.
        I thought QAxServer was made for that (but not only for that, since it allows creation of standalone ActiveX)

        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