PRB: Object Store Is Limited to 1 MB on Pocket PC Emulator (300142)
The information in this article applies to:
- Microsoft eMbedded Visual C++, Version:4.0
- 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.
REFERENCES
For more information about how to use a database in a mounted volume, refer to the following MSDN documentation for the CeMountDBVol API function at the following Web site:
Modification Type: | Minor | Last Reviewed: | 8/18/2005 |
---|
Keywords: | kbprb KB300142 |
---|
|