Free ! Quick and simple access to your Palm databases !
Integrate CPDB.net library in your C, C++ and HSPascal projects and benefit from a simplified access to databases on Palm OS (PDB). Use the advanced features of CPDB.net to browse and filter your records, manage your fields, and take advantage of a variety of functionalities adapted to all database developments on Palm OS ... [Read more ...]
CPDB.net is your database management solution for Palm OS applications ! Instant integration in your application with only 2 lines of code :
// #include ... CPDB_USELIB
static int StartApplication(void) { // Load library CPDB_OPENLIB
... |
Simple and clear use :
if (CPDB_DatabaseExist("HiScoreCPDB") == CPDB_ERR_NOEXIST) { CPDB_CreateDatabase(0, "HiScoreCPDB", 'MYID',"NAME=STRING[10];LEVEL=SHORTINT;SCORE=INT"); ... CPDB_AddRecord(hHiScore); CPDB_WriteString(hHiScore, "NAME", "CPDB"); CPDB_WriteShortInt(hHiScore, "LEVEL", Level); CPDB_WriteInt(hHiScore, "SCORE", Score); CPDB_Updaterecord(hHiScore); ... } CPDB_Open(0, "HiScoreCPDB", dmModeReadWrite, &hHiScore); ... // Read the first record err = CPDB_ReadFirst(hHiScore); while (err == 0) { // Your code here // example : CPDB_ReadInt(hHiScore, "SCORE", &iScore); ... // Read next record err = CPDB_ReadNext(hHiScore); } |
A wizard to help you :
Use CPDBWizard to discover the functionalities of CPDB.NET, to describe your databases and to generate the source code necessary to the basics operations: creation of the database, browse, search, addition and modification, etc.
|