开发者

Separate MIDL project in Visual Studio

开发者 https://www.devze.com 2023-04-12 12:41 出处:网络
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 开发者_JS百科nee

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 开发者_JS百科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
0

精彩评论

暂无评论...
验证码 换一张
取 消