1

midlコンパイラから生成されたファイル用に別のプロジェクトを作成しようとしています。.idl定義付きのファイルがありますrpcMidlコンパイラは2つのファイルを生成します。サーバー用およびクライアント用。そして、生成されたファイルから他のプロジェクトにシンボルを追加する必要があります。私の質問は、midlコンパイル用にプロジェクトを適切にセットアップする方法です。

4

1 に答える 1

1

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
于 2011-10-11T18:01:22.573 に答える