Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- db_VISTA III - d_initialize http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   D_INITIALIZE

SUMMARY
   d_initialize([dbn])
   int dbn;

ARGUMENTS

   dbn         (optional)The number of the database containing the record

DESCRIPTION
   This function initializes the database files in the open db_VISTA database.
   If multiple databases are open ,all are initialized.


-------------------------------------------------------------------
NOTE

   This function can only be called when databse is opened in exclusive
   or one-user-only access mode.

   In db_VISTA 3.00 for DOS enviroments ,this function did not require the
   presence of the data/or key file to function.However, for UNIX
   enviroments, it did.This has been changed with db_VISTA 3.10. The
   data and/or key files now must exist in order for this function
   to work .You will get an S_NOFILE (-905) error if any file is missing.
   This change was made db_VISTA behave the same regardless of the platform
   which it is runnig.
-------------------------------------------------------------------

CURRENCY CHANGES
   None

RETURN CODES

   -32   S_EXCLUSIVE        Function requires exclusive or one-user database
                            access.

EXAMPLE

       d_open("work","o");
       d_initialize();

       ........
       /* built and access work database */


       /* all done close database and delete files  */

       d_destroy("work");

See Also: d_destroy d_initfile

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson