代码之家  ›  专栏  ›  技术社区  ›  Dylan Vester

增加Windows Mobile 5仿真程序存储

  •  2
  • Dylan Vester  · 技术社区  · 15 年前

    否则,是否有人知道如何克服模拟器中存储卡上无法保存SQL Compact数据库文件的错误?

    谢谢

    4 回复  |  直到 15 年前
        1
  •  4
  •   Michał Drozdowicz    15 年前

    在下面 http://forum.xda-developers.com/showthread.php?t=549675 您将找到一个用于模拟器的驱动程序,它设置了一个RAM磁盘,模拟器的驱动程序被视为一个外部存储卡,但不会遇到映射文件夹的问题。我已经用存储在RAMDisk中的sqlcompactsdf文件进行了检查,它工作起来很有魅力。我用它作为一个64MB的驱动器,但据推测它最多可以处理256MB。

        2
  •  3
  •   Kostas Konstantinidis    15 年前

    然后,当它运行时,从device emulator右键单击刚刚运行的模拟器,选择“另存为”,将其保存在某个位置,然后使用文本编辑器打开此文件。

    在那里,您会发现一个选项,上面写着memsize,设置如下:

    <MemSize Reconfigurable="true">256</MemSize>
    

    现在,从Device Emulator中,选择刚才保存的Emulator条目(不是原始条目,而是位于Device Emulator中“我的设备模拟器”下的自定义条目),该条目将与刚才修改的cfg文件一起运行。

    希望这有帮助。

        3
  •  0
  •   runxc1 Bret Ferrier    15 年前

        4
  •  0
  •   Bratch    15 年前

    Device Emulator
    
    Memory size must be a value between 64 and 256.
    
    Command Line Option Help
    
    binfile - Filename of the binfile to be loaded by the emulator.
    @responsefile - Filename to XML response file.
    /a - Keeps emulator window always on top.
    /battery - Emulates running from a battery instead of AC
    /batterycharge percentage - Emulated battery charge percentage
    /c - Creates and displays a console window to show output from Serial Port 1.
    /cpucore - ARMv4 or ARMv5. Default is ARMv4.
    /cpuoptions - A combination of (T)humb,D(ebug),I(nternetworking),M (Long Multiply),E (DSP). Of these, T,D,I will always be set.
    /defaultsave - Use the VMID as the saved state name and place the saved state file in the per user directory.
    /flash filename - Enables flash-memory emulation and specifies flash-memory storage filename.
    /h - Sets host-only routing for network packets.
    /hostkey keyname - Specifies host key, where keyname can be 'None', 'Left-Alt', or 'Right-Alt'.
    /language LangID - Specifies the UI language, where LangID is a decimal.
    /memsize size - Sets emulated RAM size, where size is in megabytes.
    /nosecurityprompt - Do not prompt when enabling potentially unsafe peripherals when restoring from saved state.
    /n [macaddress] - Enables CS8900 network adapter where optional macaddress specifies which host adapter the card will bind to.
    /p [macaddress] - Enables NE2000 PCMCIA network adapter, where optional macaddress specifies which host adapter the card will bind to.
    /r address - Specifies ROM file base address(in hexadecimal).
    /rotate angle - Rotates the display by degrees, where angle can be 0, 90, 180, or 270.
    /s filename - Specifies the save-state filename.
    /sharedfolder directoryname - Mounts directoryname as a storage card.
    /skin filename - Loads the specified skin file.
    /tooltips state - Enables or disables tooltips, where state is 'ON' or 'OFF'.
    /u0 serialport /u1 serialport /u2 serialport - Maps guest serial ports 0-2 to Windows serial ports.
    /vfp - Vector Floating Point coprocessor: true or false. Default is false.
    /video xx - Specifies screen size and bit-depth.
    /vmid {GUID} - Specifies the VMID GUID.
    /vmname name - Specifies the window title.
    /z - Zooms the display to 2x normal size.
    /speakerphone - {[SpeakerPhone][Headset][Carkit]} - Bitmapped number between 0-7 specifying Speakerphone, Headset, Carkit mode.
    
    OK