The procedure for building a distributed RPC application varies slightly, depending on the operating-system platform you are developing on and the target platform, the version of the MIDL and C or C++ compiler, and the API libraries you use. However, the basic procedure is the same in all cases: develop the MIDL and C source files, compile the MIDL source files, compile the C source files, and then link with the RPC and other API libraries.