Mimer SQL Documentation PREV NEXT

Mimer Developer Site

www.mimer.com/developer


2.7 Starting the Database Server


By now you have installed Mimer SQL and, probably created a local database with associated system databanks. The next step is to start the local database server. On Windows 98 and ME this is not necessary if the database has been configured for Autostart.

The following code works on Windows 98, ME, NT and 2000, so you may select to use the same logic in all of these environments.

To start the server for the database MyLocalMimer use the following call:

rc = SQLConfigDataSource(NULL,ODBC_CONFIG_SYS_DSN,"MIMER", 
     "DATABASE=MyLocalMimer\0" 
     "DbServer=START\0\0"); 


Upright Database Technology AB
Voice: +46 18 780 92 00
Fax: +46 18 780 92 40
dbtechnology@upright.se
Mimer SQL Documentation PREV NEXT