Version 6.3.13 for Windows
 —  Dialog Component Reference  —

NGU-SERVER-REGISTER Subprogram

This document covers the following topics:


Natural Object Name

NGUSVREG

Description

This subprogram makes it known that the server supports the service specified in DDE-VIEW.SERVICE and the conversations on the topic specified in DDE-VIEW.TOPIC. A client will not be able to establish a conversation with the server until this subprogram is executed. Your client should not try to register the name "Natural" because this is reserved.

Before you execute this subprogram, you must assign the *DIALOG-ID system variable of the server dialog to DDE-VIEW.CONV-ID. You must also assign the string "DLGID" to DDE-VIEW.MESSAGE.

Top of page

Parameters

Name/Data Type Explanation
1 DDE-VIEW Input/Output PDA for DDE subprograms.
2 SERVICE (A20) Service name.
2 TOPIC (A20) Topic name.
2 CONV-ID (I4) Conversation ID.
2 MESSAGE (A20) Message information.
2 ITEM (A20) Item of current conversation.
2 FORMAT (A20) Format of data to be sent.
2 TIMEOUT (I4) Time interval before the conversation is interrupted because there is no server message.
2 DATALEN (I2) Length of data.
2 DATA-ARRAY (A1/1:V)  
1 Max-Index (I2) Input Highest index of DATA-ARRAY; can be set to any I2 value.
1 Response (I4) Output Natural error (if applicable).

Top of page