Microsoft KB Archive/300142

= PRB: Object Store Is Limited to 1 MB on Pocket PC Emulator =

Article ID: 300142

Article Last Modified on 8/18/2005

-

APPLIES TO


 * Microsoft Office Keyboard
 * Microsoft eMbedded Visual Basic 3.0

-



This article was previously published under Q300142



SYMPTOMS
When you run, debug, or test an application for Microsoft Pocket PC in Pocket PC emulation, the application limits the amount of data that can be stored in the object store. This limit on data storage affects the use of the CE Database API and ActiveX Data Objects for Windows CE (ADO CE) in Pocket PC emulation.

This problem does not apply to the Pocket PC 2002 emulator.



CAUSE
Unlike earlier versions of the emulator that have an object store limit of 16 megabytes (MB) (such as HPC Pro 3.0), Pocket PC emulation has a hard-coded limit of 1 MB. If an application uses a database that reaches the size limit of the object store on the Pocket PC emulator, functions that write to the database fail (for example, CeWriteRecordProps).



RESOLUTION
If you must test or debug an application that uses ADO CE or the CE Database API in emulation, and if you reach the size limit, modify the application to use a database in a mounted volume, and do not put the data in the object store.



MORE INFORMATION
You cannot adjust the size of the object store in the Pocket PC emulator as you can on a Pocket PC device.

