104 Visual C++ object definitions
Awrem32 functions
Awrem32 functions
boolean awConnect(BSTR FileName);
// Now, set the required properties
hostData.SetConnectionType("TCP/IP");
// Save the object data
if (hostData.WriteObject(0))
{
// And launch it
if (hostData.Launch())
bReturn = TRUE;
}
// Release the Host object.
hostData.ReleaseDispatch();
return (bReturn);
}
The Awrem32 functions provide the parameters and return values for handling
connections between a host and remote computer.
Creates the connection to the host computer.
Table 3-64
defines the parameter.
Table 3-64
boolean awConnect parameter
Parameter
Name as string
Table 3-65
defines the return value.
Table 3-65
boolean awConnect return value
Return value
Boolean
Description
The fully qualified .chf file name that contains
information about the host computer
Description
Executes the command