T
T
tsovak2014-04-28 02:01:34
C++ / C#
tsovak, 2014-04-28 02:01:34

RPC c++ windows

I know, I know that it's not fair, but help with the code. My task is to create an rpc interaction, the client enters a file name, the server reads it and sends it to the client. I just get error MIDL2025. Can anyone throw in the simplest complete interaction code, for example, get something from the server? I'm tired of fighting idl.
PS Whether I'm a fool, or in Google and the truth is 7 articles about rpc.
name.idl
[
explicit_handle
]
interface Example1Explicit
{
void Output( [in] handle_t hBinding, [in, string] const char* szOutput);
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jcmvbkbc, 2014-04-28
@jcmvbkbc

whether in Google and the truth 7 articles about rpc

What you are looking for is in the platform SDK examples. See samples/netds/rpc

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question