Was this helpful?
Linking an EQUEL Program - Windows
To run properly, EQUEL programs require procedures from several Windows libraries. After preprocessing and compiling an EQUEL program, you can link it. Assuming the object file for your program is called "dbentry," use the following link command:
link /out:dbentry.exe, \
 dbentry.obj,\
 %II_SYSTEM%\ingres\lib\libingres.lib 
Assembling and Linking Precompiled Forms
The technique of declaring a pre-compiled form to the FRS is discussed in the Forms-based Application Development Tools User Guide. To use such a form in your program, you must also follow the steps described here. Within VIFRED, you can select a menu item to compile a form. When you do this, VIFRED creates a file in your directory describing the form in the C language. VIFRED lets you select the name for the file. Once you have created the C file this way, you can compile it into linkable object code with the command
cl –c –MD  filename
The output of this command is a file with the extension ".obj". You then link this object file with your program (in this case named "formentry" by listing it in the link command, as in the following example:
link /out:formentry.exe, \
 empform.obj,\
 %II_SYSTEM%\ingres\lib\libingres.lib 
Last modified date: 06/10/2024