Creating a service to call a program

If you have a called program in your project, you can create a Service part to call that program.

You might want to create a service in this way to act as a wrapper for the called program. In this context, a wrapper refers to a logic part that has no meaningful logic in itself but exists only to provide other applications access to another logic part.

  1. In the Project Explorer view, right-click a file that contains an EGL-called program part and then click EGL Services > Create Program Call Function. The New EGL Service Part window opens.
  2. Enter the location and file name information for the Service part, as described in “Creating EGL source files.”

    If you type the name of an existing Service part and then select the Update existing files check box, EGL adds a function to the existing Service part that calls the called program. If you type a name for a new Service part, EGL creates that part and adds a function that calls the called program.

  3. Click Finish.