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. RPC interface does not work correctly

RPC interface does not work correctly

Scheduled Pinned Locked Moved C / C++ / MFC
helpcsharpc++sysadminquestion
3 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.
  • C Offline
    C Offline
    CopWorker
    wrote on last edited by
    #1

    Hello together,

    I´m try to get a communication between a process written in c++ and a process written in c#.
    Each Processes have a RPC Server ans a RPC Client.

    The following situation exists:
    It´s possibel to start a correct RPC communication between 2 processen written in C++.
    And it´s also possible to start a correctly RPC communication between 2 processes written in C#.

    It´s not possible to start a correctly RPC communication between a process written in c++ and a process written in c#.

    The interface is initialized with the "ncacn_ip_tcp" protocol.

    The error accours in the function "NdrGetBuffer(,,)". This function is declared in "rpcndr.h".
    The client use this function for getting a pointer from the RPC server to send the requiered datas.

    I don´t no how shall I do now.
    Is there anyting to setup in user settings?

    Can someone help me?
    Have someone also problems with RPC Server / Clients

    Thank You very much.
    CopWorker

    V 1 Reply Last reply
    0
    • C CopWorker

      Hello together,

      I´m try to get a communication between a process written in c++ and a process written in c#.
      Each Processes have a RPC Server ans a RPC Client.

      The following situation exists:
      It´s possibel to start a correct RPC communication between 2 processen written in C++.
      And it´s also possible to start a correctly RPC communication between 2 processes written in C#.

      It´s not possible to start a correctly RPC communication between a process written in c++ and a process written in c#.

      The interface is initialized with the "ncacn_ip_tcp" protocol.

      The error accours in the function "NdrGetBuffer(,,)". This function is declared in "rpcndr.h".
      The client use this function for getting a pointer from the RPC server to send the requiered datas.

      I don´t no how shall I do now.
      Is there anyting to setup in user settings?

      Can someone help me?
      Have someone also problems with RPC Server / Clients

      Thank You very much.
      CopWorker

      V Offline
      V Offline
      Victor Nijegorodov
      wrote on last edited by
      #2

      So the [Troubleshoot Remote Procedure Call (RPC) errors - Windows Client Management | Microsoft Docs](https://docs.microsoft.com/en-us/windows/client-management/troubleshoot-tcpip-rpc-errors) could be a good start.

      C 1 Reply Last reply
      0
      • V Victor Nijegorodov

        So the [Troubleshoot Remote Procedure Call (RPC) errors - Windows Client Management | Microsoft Docs](https://docs.microsoft.com/en-us/windows/client-management/troubleshoot-tcpip-rpc-errors) could be a good start.

        C Offline
        C Offline
        CopWorker
        wrote on last edited by
        #3

        Hello, thanks for the hint. I´ve already scoured this page. In my application the server and client works with "endpoint" definition not with ports. As I said. Processes that are written in C ++ communicate with one another, as do the processes that are written in C #. This is not a problem. No communication between processes written in C ++ and processes written in C #. If someone has these problems in the same way, I would be happy to hear from you. Thanks a lot CopWorker

        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