Abstract:CIMBASE is a distributed heterogeneous database management system designed for Computer Manufacturing Systems.One of CIMBASE's important user interfaces is a C pre-compiler that enables a user to access remote databases in C programs.This paper first describes the main functions of this C pre-compiler and then discusses its implementation issues, especially on the design of supporting communication commands,Master/Agent program structure, their working mode, and some related algorithms as well.