[ Previous | Next | Contents | Glossary | Home | Search ]
Motif 2.1 Widget Writer's Guide



UIL Compiling with Your WMD File

By default, the UIL compiler bases its compilation on the default WMD file stored in motif.wmd. An application programmer needing to use your WMD file instead of the default must do one of the following:

  1. Specify the -wmd option to the uil command

  2. Supply values for the database and database_flag members of the Uil_command_type structure whose address is the first argument to the UIL function

    For example, given a WMD file named My.wmd and a UIL application name app.uil, the application programmer can issue a compilation command like the following:

    uil -wmd My.wmd -o app.uid app.uil

    Note that the application programmer must also have access to the header files and MRM initialization files described earlier in this chapter.


  3. [ Previous | Next | Contents | Glossary | Home | Search ]