App development in VS 2005 on custom CE6.0 OS designI

Hello,

I'm trying to do some application development in VS2005 on a custom CE6.0 OS design. I've based my custom OS Design on the CE6.0 Device Emulator BSP. I'm able to launch and connect to the OS from PB6. I rolled and installed the SDK and am able to compile an application for the OS image in VS2005 (app development mode).

It seems like I should be able to deploy the application to my OS running on the Device Emulator via the DMA transport, just like deploying to the included PocketPC2003 OS image. However, every example that I've seen (MS virtual labs and Paul Yao's presentation at the virtual launch event) point to running the OS image from VS2005/PB6 and deploying the application via the TCP transport link from a separate instance of VS2005. This seems cumbersome for non-platform developers though...

Any thoughts on the intended use of the Device Emulator to debug applications Is there an easier way to deploy/debug an application via VS2005 on a custom OS design running on the Device Emulator

Thanks,

Matt



Answer this question

App development in VS 2005 on custom CE6.0 OS designI

  • R Raghu

    Hi Mohit,

    I tried Barry's suggestions with a few minor modifications for CE 6.0. Unfortunately, I was still not able to deploy my application to my OS image running on the emulator from VS2005.

    VS2005 launches the device emulator with the bootloader and it looks like the bootloader jumps to the OS. However, VS2005 is never able to connect to the device emulator... In the "Connecting..." dialog, I get the message 'Connection failed. Teh device-side executable could not be shut down.'

    Thanks,
    Matt

  • W.Turgeon

    Hi Mohit,

    Thanks for your reply. I've been able to roll a Windows CE 5.0 SDK and make it work with VS2005, although I haven't tried this under my current workstation configuration. I'm having trouble getting a CE 6.0 image to work in a similar manner though.

    As I mentioned in my original post, I've seen a couple of usages of the emulator under CE 6.0 that differ from the straightforward manner in which I was able to deploy an application to a CE 5.0 image running on the emulator. I wasn't sure if this change in usage was intended by the device emulator group, or whether the intent is to continue supporting deployment via DMA.

    Is the intent to still support deployment via DMA, or is the intent to support deployment/debugging of applications as explained in sessions at the CE 6.0 Virtual Launch Event (eg using TCP transport to connect to a previously launched OS/emulator image)

    While I'm waiting for a response from you, I'll take a look at Barry's post. If I'm able to get my configuration working, I'll post back here.

    Thanks again for your help.

    -Matt

  • EFEXConsulting

    Hi Mohit,

    After some fussing around, I got my application to download to the Device Emulotor running my SDK OS image. Thanks for the link and thanks to Barry for posting this valuable information.

    Note, that in order to get this minimal configuration working under CE 6.0, I had to remove additional %CSIDL*% entries in the .xsl file associated with my SDK. Once I got rid of all of those entries, things started working correctly.

    Thanks,
    Matt

  • Kevin Rodgers

    You may want to go through http://blogs.msdn.com/barrybo/archive/2006/08/21/710908.aspx

    Hope this helps.

    -Thanks,

    Mohit


  • App development in VS 2005 on custom CE6.0 OS designI