I'm trying to create a remote procedure call in C++. I followed the steps described in the MSDN-RPC-tutorial at
I'm using Visual Studio .NET. After generating the rpc-files by midl.exe and adding them to the project, i get many linker-errors:
error LNK2001: unresolved external symbol _hello_IfHandle
extern handle_t hello_IfHandle; (variable-name without underscore) is a variable in the file hello.h, but the linker can't resolve _hello_IfHandle
error 2019: unresolved external symbol __imp_RpcBindingFree@4 refered in _main
Please help me, and tell me, what i've done wrong.
It would also be great if anyone could give me a sample of how to create a RPC.