edb field size limits

Tech-Archive recommends: Fix windows errors by optimizing your registry



Maybe I'm just stupid, but in case this saves someone else a couple of
hours...

In converting my app from using CEDB to EDB, I ran across some odd
behavior that turns out to be caused by the new size limitations as
defined here:

http://whidbey.msdn.microsoft.com/library/default.asp?url=/library/en-us/wcedata5/html/wce50conedbdatatypessizelimits.asp

The hilite being that you can't have strings longer than 4K characters
or blobs longer than 8K bytes in EDB vs. the old 64K byte limit in
CEDB.

The solution is to use the new CEVT_STREAM type, which supports blobs
of up to 32MB, or basically infinite :-)

.



Relevant Pages

  • Re: PPC database...
    ... Fundamentally the eDB and CEDB APIs are very similar, ... WM5.0 SDK, which includes the cedb and edb header files. ... > exist for eVC and not in Visual Studio environment? ...
    (microsoft.public.pocketpc.developer)
  • Re: PPC database...
    ... > wrapper around CEDB because thats not part of the Pocket PC SDK ... Fundamentally the eDB and CEDB APIs are very similar, ... // Microsoft Foundation Classes product. ...
    (microsoft.public.pocketpc.developer)
  • Re: Datenaustausch mit CE
    ... Um zum Beispiel eine EDB anzulegen, ... die 2 Funktionen finde ich in meiner rapi auch nicht... ... CeOpenDatabaseEx, was bei mir den Schluss nahelegte, dass ich damit ... dass ich eine EDB und nicht eine CEDB erzeugen will? ...
    (microsoft.public.de.german.windowsce.entwickler)
  • Re: EmBedded Vc++ 4.0
    ... Stichworte sind CEDB (bzw. CeDatabase, CCeDatabase (MFC)), ADOCE, SQL Server CE und EDB (Embedded Database). ...
    (microsoft.public.de.vc)
  • Re: PPC database...
    ... how can we access EDB via RAPI like we do CEDB? ... isn't) then does that mean Microsoft is planning to update CCeDBDatabase? ... wrapper around CEDB because thats not part of the Pocket PC SDK itself. ...
    (microsoft.public.pocketpc.developer)