Chostdatamanager Methods - Symantec PCANYWHERE - OLE AUTOMATION GUIDE V 12.5 Manual

Hide thumbs Also See for PCANYWHERE - OLE AUTOMATION GUIDE V 12.5:
Table of Contents

Advertisement

CHostDataManager methods

// Save the object data
if (remoteData.WriteObject(0))
{
// And launch it
if (remoteData.Launch())
bReturn = TRUE;
}
// Release the remote object.
remoteData.ReleaseDispatch();
remoteDM.ReleaseDispatch( _T( "WINAWSVR.RemoteDataManager") );
return bReturn;
}
The following table describes the CHostDataManager methods, including the
parameters and return values for accessing and controlling CHostData objects:
Method
BSTR CurrentDirectory();
BOOL
ChangeDirectory(LPCTSTR
lpszNewDirectory);
Parameter or
Description
return value
Return value = BSTR
Returns the full path name of the
current directory in which pcAnywhere
host objects are stored
Parameter =
Changes the current directory in which
LPCTSTR
pcAnywhere host objects are stored
lpszNewDirectory
The parameter is name of an existing
Return value =
directory
BOOL
The return value is TRUE if successful
Visual C++ object definitions
CHostDataManager methods
71

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ole automation

Table of Contents