This function opens the pipe to the Comm Engine.

The command is as follows if the Comm Engine and the client are running on the same computer:

pipename = '\PIPE\HOUSE290'
rc = CLOpenPipe( pipename )

For network operation, the pipe name must include the computer name where the Comm Engine is running at. In this example, the computer name is CLIENT290 and it must be preceded by two back slashes.

pipename = '\\CLIENT290\PIPE\HOUSE290'
rc = CLOpenPipe( pipename )

This function returns the same values as the API call DosOpen. The values of most interest are:
0 NO_ERROR
2 ERROR_FILE_NOT_FOUND
3 ERROR_PATH_NOT_FOUND
4 ERROR_TOO_MANY_OPEN_FILES
5 ERROR_ACCESS_DENIED
12 ERROR_INVALID_ACCESS
231 ERROR_PIPE_BUSY

See the example CMD files included for details on how to run a pipe to the Comm Engine.