Contents
Chapter 1. Overview .........1
Sterling Connect:Direct for Microsoft Windows SDK
Overview ...............1
Chapter 2. Edit Connection Settings . . 3
Edit Connection Settings with the Client Connection
Utility ................3
Start the Client Connection Utility .......3
Add and Delete Node Connection Definitions . . . 4
Add a Node ..............4
Delete a Node ..............5
Add a User ...............5
Delete a User ..............6
Update Node Properties ..........6
Define a Default Node or Default User .....7
Import Registry Settings ..........7
Export Registry Settings ..........8
Print Registry Settings Report.........8
Chapter 3. Apply the C API ......9
The C Applications Programming Interface ....9
Compile and Debug ............9
Activate Tracing .............9
Standard C API .............10
View Sample Programs ..........11
Chapter 4. Apply the C++ Class
Interface ..............13
Compile and Debug ...........13
Manipulate Nodes ............13
Create an Object to Connect to a Node .....14
Manage Connections ...........15
View Information ............16
Control the Return of Information .......16
Execute Sterling Connect:Direct Commands . . . 18
Manage Exception Conditions ........19
Manage Administrative Functions .......20
Multithreaded Access and Blocking ......22
Objects On The Stack ...........22
Chapter 5. Apply the ActiveX Control
Interface ..............25
Submit Process .............25
Display Select Statistics Results ........26
Chapter 6. Apply Automation Servers 33
Apply Automation Servers .........33
Create Virtual Servers Using the Node Factory . . 33
Use Automation Objects ..........37
Chapter 7. Enhance Security and
Automate File Opening with User Exits. 41
User Exits ...............41
Apply Enhanced Security..........41
Apply Automated File Opening .......43
Chapter 8. Structure Types ......45
Structure Types .............45
NETMAP_DESC_STRUCT Structure ......45
USER_STRUCT Structure ..........46
MESSAGE_STRUCT Structure ........48
NETMAP_MODE_SNA Structure .......48
NETMAP_MODE_TCP Structure .......49
NETMAP_NODE_STRUCT Structure ......49
NETMAP_PATH_STRUCT Structure ......50
PROCESS_STRUCT Structure ........51
NODE_STRUCT Structure .........54
STATISTICS_STRUCT Structure........55
TRACE_STRUCT Structure .........55
TRANSLATE_STRUCT Structure .......56
Chapter 9. Return Codes .......59
C++ Class and the C API Functions Return Codes 59
Notices ..............61
© Copyright IBM Corp. 1995, 2011 iii