增加Windows Mobile 5模拟器存储 [英] Increasing Windows Mobile 5 Emulator Storage
问题描述
我使用Microsoft Sync Framework将SQL Server数据库与Windows Mobile 5模拟器上的SQL Compact SDF文件同步。我们在我们部署的实际设备中有一个2 GB的SD卡,所以我们想存储我们的数据库文件。但是,当我将共享文件夹映射为Windows Mobile 5模拟器中的存储卡时,由于存在错误,SQL Compact引擎无法在映射的存储卡上创建或修改数据库文件。所以要在模拟器的开发过程中遇到这种情况,我只是将数据库存储在内部设备存储上,但是,它限制为32 MB,我找不到一种方法来增加它。有谁知道如何增加模拟器上的存储空间。我在说的是存储空间而不是RAM:)。
否则,有没有人知道如何克服不能在SQL Compact数据库文件
在
a href =http://forum.xda-developers.com/showthread.php?t=549675 =nofollow noreferrer> http://forum.xda-developers.com/showthread.php?t=549675您将找到一个用于设置RAM磁盘的仿真器的驱动程序,仿真器的驱动程序被视为外部存储卡,但不会遇到映射文件夹的问题。我检查了存储在RAMDisk中的SQL Compact sdf文件,它的工作原理像一个魅力。我使用它作为一个64MB的驱动器,但据说它可以处理高达256 MB。I'm using the Microsoft Sync Framework to synchronize a SQL Server database with a SQL Compact SDF file on the Windows Mobile 5 emulator. We have a 2 gig SD card in the actual device we're deploying on so we'd like to store our database file there. However, when I map a shared folder as the storage card in the Windows Mobile 5 emulator, the SQL Compact engine is not able to create or modify a database file on the mapped storage card because of a bug. So to get past this during development on the emulator, I was just going to store the database on the internal device storage, however, it's limited to 32 MB and I can't find a way to increase it. Does anyone know how to increase the storage space on the emulator. I'm talking storage space not RAM :).
Otherwise, does anyone know how to get past the bug of not being able to have a SQL Compact database file on the storage card in the emulator?
Thanks!
Under http://forum.xda-developers.com/showthread.php?t=549675 you will find a driver for the emulator that sets up a RAM Disk, that for the emulator is seen as an external storage card but doesn't suffer from the issues with mapping a folder. I've checked with SQL Compact sdf file stored in the RAMDisk and it works like a charm. I've used it as a 64MB drive but supposedly it can handle up to 256 MB.
这篇关于增加Windows Mobile 5模拟器存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!