Windows CE Object Store

Windows CE Object Store

Postby Randal » Wed May 24, 2006 7:09 pm

All,

Is there anyway to get data from a .dbf into a Windows CE Object Store? Or is there anyway to use ADOCE on the Pocket PC? (Object Store is where Windows Mobile stores database files)

If I can get data from the .dbf into the object store I can use a 3rd party report writer for the handheld that will work with any ir or bluetooth enabled printer.

Thanks,
Randal Ferguson
Randal
 
Posts: 260
Joined: Mon Oct 24, 2005 8:04 pm

Postby Antonio Linares » Thu May 25, 2006 8:03 am

Randal,

Do you have more info about the "Object store" ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby modicr » Thu May 25, 2006 1:01 pm

Hello!

I found this information:
http://blogs.msdn.com/ce_base/archive/2 ... s_EDB.aspx
CEDB was created as a lightweight database API for Windows CE. A long time back, before I started at Microsoft, maybe the CE 2.0 days or even earlier. It originally ONLY stored its data in the object store. But then as flash got cheaper and people started building more devices with persistent storage, we needed a database that could store its data in other places. So some APIs were added to CEDB, to let it store its databases inside a "volume" (file) on any store. However CEDB was really built to operate on a RAM-based store, does not work efficiently for storing data in slower media like flash. It can end up writing to flash much more than you'd really want.

As CEDB started showing its age, the SQL team took up the challenge of providing a better database engine for Windows CE. We had SQL-CE but that was much heavier weight than CEDB. The SQL team built a lighter engine, and put an API on top of it that closely mimicked the CEDB APIs. That makes it easier to migrate existing applications that use CEDB over to use EDB. EDB is much more efficient about storing its data (and it better be, considering it was written by database experts instead of device hacks like myself).

For now Windows CE and Windows Mobile support both CEDB and EDB, but over time we'd like to get rid of CEDB.

Unfortunately there aren't any tools to convert your code from using CEDB APIs to using EDB APIs, or to convert your existing CEDB databases to EDB. Maybe someone could update our database conversion wizard (http://www.microsoft.com/windowsmobile/ ... rtoys.mspx) to do that. But to be honest I'm not aware of any effort to do that.


Roman
© I'm not patented!
User avatar
modicr
 
Posts: 207
Joined: Fri Oct 07, 2005 7:58 am
Location: ljubljana, barje, slovenia

Postby Randal » Thu May 25, 2006 1:29 pm

Randal
 
Posts: 260
Joined: Mon Oct 24, 2005 8:04 pm


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 52 guests