none
Running Windows Compact 7 in standalone mode on Virtual PC RRS feed

  • Question

  • We must develop a Windows Compact 7 application.

    We are able to compile a Platform Builder project (Handheld template + Wired Network and some other options enabled); start a virtual PC VM with the hd0_sample.vhd disk; and then successfully run the Windows Compact 7 (which is downloaded directly from the Visual Studio).

    We would like to use a standalone version on the Virtual PC (without opening the Visual Studio); we searched the Internet for some documenattion/information but there are no clear guidelines/instructions.

    We folowed these steps:

    * make a 2GB standalone.vhd, make an active primary partition (J:), format it with FAT32, no volume label then run:

    VirtualPC\src\boot\tools\bin\i386\cesys.exe j: WCELDRC -f

    The WCELDRC is from the Release directory of the VirtualPC Platform Build solution

    * we copied the NK.bin into it

    * then we attached the Standalone.vhd to a Virtual PC machine (with 512 MB RAM and other settings like the VM that booted correctly and downloaded the image directly from Visual Studio)

    * after starting the VM, we hit a key and select "Boot Drive" as Boot Source

    * after a few seconds the screen of the VM becomes black and nothing happens

    We also tried to compile the project with  KITL DISABLED (IMGNOKITL=1) but in this case the Standalone VM booted (from the Boot Drive), but no network card was present (no icon in the bottom right corner and no network card recognized).

    *** What are the detailed steps to succesfully deploy a standalone Windows Compact 7 build (NK.bin) into a Virtual PC VM ?

    In particular:

    ** What are the options on the project that must be changed? (with respect to the default project generated by the Platform Builder) What about the KITL flag?

    ** What file must be copied into the standalone VHD(we copied the NK.bin, but what about the other files in the Release directory? Should we add another partition to the VHD?

    ** What are the options of the boot loader when booting the VM? (should we leave the KITL enabled?)

    Thank you in advance


    • Edited by M Edigest Friday, September 22, 2017 3:17 PM
    Friday, September 22, 2017 3:13 PM

Answers

All replies