Creating a Catalog (Database)
The first task you will need to complete on a SQL Server for Windows CE installation is creating a database, or catalog, as it is known by ADOXCE. You will need to define a connection string that defines the OLEDB provider used to access SQL Server for Windows CE (for example, "Provider=Microsoft.SQLServer.OLEDB.CE.1.0;") and the name of the database to be created (for example, "DataSource=\eVCAdo.db"). Note that in this case the database "eVCAdo.db" will be created in the root folder of the object store—you would probably want to change its location to another folder in your applications.
A Catalog interface can be obtained by creating an "ADOXCE.Catalog" component through a "AdoXNS::_CatalogPtr" smart pointer with ...
Get Windows® CE 3.0 Application Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.