![Symantec OLE Automation Скачать руководство пользователя страница 71](http://html.mh-extra.com/html/symantec/ole-automation/ole-automation_manual_1418926071.webp)
// 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;
}
CHostDataManager methods
The following table describes the CHostDataManager methods, including the
parameters and return values for accessing and controlling CHostData objects:
Description
Parameter or
return value
Method
Returns the full path name of the
current directory in which pcAnywhere
host objects are stored
Return value = BSTR
BSTR CurrentDirectory();
Changes the current directory in which
pcAnywhere host objects are stored
The parameter is name of an existing
directory
The return value is TRUE if successful
Parameter =
LPCTSTR
lpszNewDirectory
Return value =
BOOL
BOOL
ChangeDirectory(LPCTSTR
lpszNewDirectory);
71
Visual C++ object definitions
CHostDataManager methods