RPC interface does not work correctly
-
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 / ClientsThank You very much.
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 / ClientsThank You very much.
CopWorkerSo 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.
-
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.
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