문제

내가 사용하여 Microsoft 동기화 프레임워크를 동기화하기 SQL 서버 데이터베이스로 SQL 컴팩트 자위대에서 파일 윈도 모바일 5 에뮬레이터입니다.우리는 2 개의 공연 SD 카드에는 실제 장치에 우리는 배포에서는 저장 데이터베이스 파일이 있다.그러나 난지도의 공유 폴더로리 카드에서 윈도 모바일 5 에뮬레이터,SQL 콤팩트 엔진이 할 수 없을 만들거나 수정할 수 있는 데이터베이스 파일에 매핑된 스토리지기 때문에 카드의 버그입니다.그래서 이것을 지나는 동안 개발을 에뮬레이터,나는 단지 저장소에서 데이터베이스 내부 장치에 저장,그러나,그것은 제한된 32MB 및을 찾을 수 없습 방법을 향상시킬 수 있습니다.가 누구나 알고 있을 높이는 방법에 저장 공간을 에뮬레이터입니다.나는 이야기 저장 공간지 RAM:).

그렇지 않으면,사람을 얻는 방법을 알고 과거의 버그되지 않을 수 있 SQL 컴팩트한 데이터베이스 파일에 저장한 카드 에뮬레이터에서?

감사합니다!

도움이 되었습니까?

해결책

http://forum.xda-developers.com/showthread.php?t=549675 을 찾을 수 있 드라이버에 대한 에뮬레이터 설정 RAM 디스크,그에 대한 에뮬레이터로 볼 수있는 외부장 카드지만 고통에서 문제와 매핑 폴더에 있습니다.확인했는데 SQL 콤팩트 sdf 파일에 저장되는 RAMDisk 고 그것은 마치 마법처럼 작동합니다.나는 그것을 사용했으로 64 메가바이트 드라이브 하지만 아마도 그것은 처리할 수 있는 최대 256 메가바이트.

다른 팁

실제로 당신은 이것을 할 수 있습니다.

우선 열린 장치 에뮬레이터 및 선택한 에뮬레이터를 실행하십시오. 제 경우에는 Windows Mobile 5.0을 열었습니다

그런 다음 실행되면 장치 에뮬레이터에서 방금 실행하는 에뮬레이터를 마우스 오른쪽 버튼으로 클릭하고 저장을 선택한 다음 어딘가에 저장 한 다음 텍스트 편집기 로이 파일을 열십시오.

거기에는 memsize라는 옵션이 있습니다. 다음을 설정합니다.

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

불행히도 최대 값은 256입니다.

이제 장치 에뮬레이터에서 이전에 저장 한 에뮬레이터 항목을 선택하고 (원본이 아니라 장치 에뮬레이터의 장치 에뮬레이터 아래에있는 사용자 정의)를 선택하고 방금 수정 한 CFG 파일로 실행됩니다.

도움이 되었기를 바랍니다.

실제 장치가있는 경우 Active Sync를 통해 장치를 연결하여 장치에서 테스트하는 것이 좋습니다. 나는 에뮬레이터의 메모리를 변경하는 방법을 모르지만 HP에는 테스트를 위해 다운로드 할 수있는 에뮬레이터가 있다는 것을 알고 있으며 그중 하나가 당신이 타겟팅하려는 것과 일치 할 것이라고 확신합니다.

Microsoft 장치 에뮬레이터 v3에서 (이것은 Windows Mobile 5를 사용하여 이전 " Microsoft 장치 에뮬레이터 1.0"폴더를 설치하고 오버 글을 씁니다. 가장 먼저 말하면 memsize에 대한 메시지입니다. > 256MB 값으로 시도했고 도움말 대화 상자를 던졌습니다. 내 /주식 폴더를 스토리지 카드로 인식하려고 할 때 이것을 엉망으로 만들고있었습니다. 아마도 이것은 새로운 장치 에뮬레이터에서 가능할 것입니다. 작동하도록 할 수 있다면 카드에 SDF 파일을 배치하는 것을 테스트 할 수 있습니다.

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   
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top