Important: The information in this document is obsolete and should not be used for new development.
InitCyberdog
Creates and initializes Cyberdog and the global session object.
pascal OSErr InitCyberdog (Environment* ev, ODSession* session);
ev
- A pointer to the SOM environment parameter used to pass exceptions.
session
- A pointer to the
ODSession
object to associate with theCyberSession
object.- return value
- An error code.
DISCUSSION
Any part that calls Cyberdog methods should call this function during its initialization to initialize Cyberdog and create the global session object. AnODSession
object must exist before a Cyberdog session object can be created. This function returns the error codenoErr
if the initialization was successful. You can also create the global session object by calling theCyberExtension::CreateCyberSession
method.SEE ALSO
TheCyberExtension::CreateCyberSession
method (page 219).