17. System Commands for the Forms-based Tools : compform Command—Compile a Form : Compile a Form into Object Code
 
Share this page                  
Compile a Form into Object Code
Before you can link the compiled form to your application, you need to translate the compiled form into object code. The command for this operation depends on whether the compiled form is in C programming language format or macro format.
Windows:
If the text file is in C language format and the file name is empform.c, the following command translates the form into object code:
cl -c empform
The compform command automatically generates the correct header file include statement for a compiled form in C language format.
UNIX:
If the text file is in C language format and the file name is empform.c, the following command translates the form into object code:
cc -c empform.c
If the symbol for the C language compiler at your installation is not cc, substitute the appropriate compiler symbol in place of cc. The compform command automatically generates the correct header file include statement for a compiled form in C language format.
VMS:
The command for this operation depends on whether the compiled form is in C programming language or macro format. If the compiled form is in macro format in a text file named empform.mar, the following command translates it into object code:
macro empform.mar