문제

I'm trying to make separate project for generated files from midl compiler. I have .idl file with rpc definitions. Midl compiler generates two files. For server and for client. And I need to add symbols from generated files to other projects. My question is how to setup properly project for midl compilation.

도움이 되었습니까?

해결책

The midl compiler generates 3 files: header (.h), client stub (.c) and server stub (.c). You should include the header and the client stub in client programs, and the header and server stub in server programs. Read:

  1. Developing the Server
  2. Developing the Client
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top