Platform SDK: Broadcast Architecture

GetDatabase

The GetDatabase function returns a pointer to an instance of the CdbDatabase class, used to access the DAO database. C syntax is shown.

CdbDatabase *GetDatabase(void);

Parameters

None.

Return Values

Returns a pointer to a CdbDatabase object if successful, and otherwise returns NULL.

Remarks

Your application should call the CDatabaseConnection::ConnectToDatabase method to connect to the Guide database before calling GetDatabase.

Requirements

  Windows NT/2000: Unsupported.
  Windows 95/98: Requires Windows 98.
  Header: Declared in dbsets.h.
  Import Library: Use dbsets.lib or dbsetsst.lib.

See Also

CDatabaseConnection::ConnectToDatabase, SetJet