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
ODSessionobject to associate with theCyberSessionobject.- 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. AnODSessionobject must exist before a Cyberdog session object can be created. This function returns the error codenoErrif the initialization was successful. You can also create the global session object by calling theCyberExtension::CreateCyberSessionmethod.SEE ALSO
TheCyberExtension::CreateCyberSessionmethod (page 219).