Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. ActiveX events from automation server (.EXE) ?

ActiveX events from automation server (.EXE) ?

Scheduled Pinned Locked Moved C / C++ / MFC
c++comsysadmintestingtools
6 Posts 2 Posters 0 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.
  • M Offline
    M Offline
    MrBean
    wrote on last edited by
    #1

    I'm writing a automation EXE server in VC++ 6.0 and I want to send COM/ActiveX events to the calling program... is it possible and how ? The project was created as a MFC application with Automation support and works fine as a Automation server for my client application. Now I just need to notify the client of events in my automation EXE application. I'm desperately in need of help.... please help.... thanks :)

    F 1 Reply Last reply
    0
    • M MrBean

      I'm writing a automation EXE server in VC++ 6.0 and I want to send COM/ActiveX events to the calling program... is it possible and how ? The project was created as a MFC application with Automation support and works fine as a Automation server for my client application. Now I just need to notify the client of events in my automation EXE application. I'm desperately in need of help.... please help.... thanks :)

      F Offline
      F Offline
      Fredrik Skog
      wrote on last edited by
      #2

      Add a sink interface to your client that sink the events fired from the server. I think there are some samples in MSDN called koala or ekoala. Cheers, Fredrik
      Sonork ID: 100.11430:PhatBoy

      'It is so much simpler to bury reality than it is to dispose of dreams.'
      - Don Delillo, Americana

      M 1 Reply Last reply
      0
      • F Fredrik Skog

        Add a sink interface to your client that sink the events fired from the server. I think there are some samples in MSDN called koala or ekoala. Cheers, Fredrik
        Sonork ID: 100.11430:PhatBoy

        'It is so much simpler to bury reality than it is to dispose of dreams.'
        - Don Delillo, Americana

        M Offline
        M Offline
        MrBean
        wrote on last edited by
        #3

        Well... the problem is not the client but my server application. How do I fire events from my (.EXE) automation server application ?

        F 1 Reply Last reply
        0
        • M MrBean

          Well... the problem is not the client but my server application. How do I fire events from my (.EXE) automation server application ?

          F Offline
          F Offline
          Fredrik Skog
          wrote on last edited by
          #4

          If you didn't like the koala samples, check here, there's plenty of articles about events. Cheers, Fredrik
          Sonork ID: 100.11430:PhatBoy

          'It is so much simpler to bury reality than it is to dispose of dreams.'
          - Don Delillo, Americana

          M 1 Reply Last reply
          0
          • F Fredrik Skog

            If you didn't like the koala samples, check here, there's plenty of articles about events. Cheers, Fredrik
            Sonork ID: 100.11430:PhatBoy

            'It is so much simpler to bury reality than it is to dispose of dreams.'
            - Don Delillo, Americana

            M Offline
            M Offline
            MrBean
            wrote on last edited by
            #5

            Well... there are plenty of samples but I still can't find any which shows how to add events to my EXE automation server (MFC). My automation server is a windowed application created as an MFC EXE application in VC++ and I want to send events back to the client when the user performs specfic actions in the window.

            F 1 Reply Last reply
            0
            • M MrBean

              Well... there are plenty of samples but I still can't find any which shows how to add events to my EXE automation server (MFC). My automation server is a windowed application created as an MFC EXE application in VC++ and I want to send events back to the client when the user performs specfic actions in the window.

              F Offline
              F Offline
              Fredrik Skog
              wrote on last edited by
              #6

              http://www.codeproject.com/com/connectionpoints1.asp http://www.codeproject.com/com/connectionpoints2.asp Cheers, Fredrik
              Sonork ID: 100.11430:PhatBoy

              'It is so much simpler to bury reality than it is to dispose of dreams.'
              - Don Delillo, Americana

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups