The following procedure is generally used when creating an application using the UltraLite C++ API:
Initialize a ULDatabaseManager object. See ULDatabaseManager class.
(Optional) Enable features in the UltraLite runtime library. See Compiling and linking your application.
Use an UltraLite database. You can open a connection to an existing database, create a new one, drop an existing database, or validate that an existing database has no file corruption.
Finalize the ULDatabaseManager object.
The ULDatabaseManager object should only be initialized once in your application and then finalized when your application is terminating. All methods on the ULDatabaseManager class are static. Use the ULError class to get error information throughout your UltraLite application.
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0|