74 Visual C++ object definitions
CRemoteDataManager methods
LPDISPATCH CreateObject(LPCTSTR lpszFQName);
Table 3-10
LPDISPATCH RetrieveObjectEx parameters
Parameter
short wAccessMode
LPCTSTR lpszPassword
Table 3-11
defines the return value.
Table 3-11
LPDISPATCH RetrieveObjectEx return value
Return value
LPDISPATCH
Creates a CRemoteData object and returns an LPDISPATCH pointer to it.
Table 3-12
defines the parameter.
Table 3-12
LPDISPATCH CreateObject parameter
Parameter
LPCTSTR lpszFQName
Description
Specifies how this object is to be used. This relates to
the password protection. The options are as follows:
0 = Not specified
■
1 = View only
■
2 = View and Modify
■
3 = Execute
■
Object password. May be NULL.
Description
Pointer to an OLE dispatch object. The object is a
CRemoteDataEx object.
For an example of how to attach this pointer to a
CRemoteDataEx object, see
for remote functionality"
Description
The fully qualified remote object file name for the
new object
"Visual C++ sample code
on page 85.