Creating a service to call a program

If a called program is 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 that exists to give other applications access to another logic part.

To create a service to call a program:

Important: Before you begin this task, see "Creating EGL source files" to learn how to enter the location and file name for a Service 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 in "Creating EGL source files."

    If you type the name of an existing Service part and then select Update existing files, 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 the new part and adds a function that calls the called program.

  3. Click Finish.

Feedback