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. DCOM Server

DCOM Server

Scheduled Pinned Locked Moved C / C++ / MFC
c++comsysadminhelptutorial
4 Posts 1 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.
  • R Offline
    R Offline
    Roger
    wrote on last edited by
    #1

    I am trying to write a DCOM server application. Some of the interface functions have paramaters that are user defined data types (structs). I have the header files where these type definitions are included in the server .h file included in the .h file of the server .cpp file. When I try to build, I receive the following error that points back to the .idl file: "Expecting type specification near "data_type". Any advice on how to remedy this. I am fairly new to DCOM/COM programming.

    R 1 Reply Last reply
    0
    • R Roger

      I am trying to write a DCOM server application. Some of the interface functions have paramaters that are user defined data types (structs). I have the header files where these type definitions are included in the server .h file included in the .h file of the server .cpp file. When I try to build, I receive the following error that points back to the .idl file: "Expecting type specification near "data_type". Any advice on how to remedy this. I am fairly new to DCOM/COM programming.

      R Offline
      R Offline
      Roger
      wrote on last edited by
      #2

      Nevermind, I answered my own question.

      R 2 Replies Last reply
      0
      • R Roger

        Nevermind, I answered my own question.

        R Offline
        R Offline
        Roger
        wrote on last edited by
        #3

        I take that back, I still want to be able to pass a parameter from the DCOM server to the client application but do not want to specify the type of the parameter. Is there a way to do this?

        1 Reply Last reply
        0
        • R Roger

          Nevermind, I answered my own question.

          R Offline
          R Offline
          Roger
          wrote on last edited by
          #4

          I take that back, I still want to be able to pass a parameter from the DCOM server to the client application but do not want to specify the type of the parameter. Is there a way to do this?

          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