Using EVC 4.0 to build code for WM 5.0

Picking up on a comment that Frankie Chow made on my LASS part 3 post:

"... how can we develop [for Windows Mobile 5.0] using VC++4?"

First of all I need to make this clear: It’s not possible to use EVC 4.0 to build applications that specifically target Windows Mobile 5.0*. Neither is it possible to use EVC 4.0 to deploy and debug against a Windows Mobile 5.0 device. The primary restriction here is that the Windows Mobile 5.0 SDK is built to install against Visual Studio 2005 only.

However, if you have code that doesn’t rely on WM 5.0 features it is possible to remain with EVC 4.0, build and debug on WM2003, and then manually install (e.g. build a CAB or copy the files and use remote reg edit etc) components to WM 5.0. In doing this you are relying on the backwards compatibility of WM 5.0. Don’t forget to test it thoroughly.

Because a LAP doesn’t call any new interfaces in the OS you could (in theory! I haven't tries this out) keep with EVC 4.0, modify the code to expose the new exports and build for a WM 2003 target, then install onto WM 5.0.

Lots of caveats :) And here is another: * I guess with a lot of work it might be possible to install VS2005 + WM 5.0 SDK alongside EVC 4.0 and then manually adjust the lib and include directories in EVC 4.0 to point at the new SDK bits in order to use WM5.0 specific features, but even if that does work you will still have no debug experience. Has anyone tried this yet? That would be a pretty cool party trick… you can see I get invited to the best parties J

Marcus

Comments

  • Anonymous
    February 28, 2006
    Not only can you use EVC4, you can even use EVC3.  I've done it.  I have an application that goes all the way back to PPC 2000 for compatibility - one CAB file, one EXE.  I needed to use EVC3 to maintain compatibility with PPC2000.

    Robert Scott
    Ypsianti, MI

  • Anonymous
    April 05, 2006
    Hi Robert Scott,
    Would you add my MSN?? chinshk@hotmail.com
    I would like to ask you more about this in detail. Thanks.

  • Anonymous
    April 06, 2006
    Hi Robert Scott,
    Do you have the procedure for Using EVC 4.0 to build code for WM 5.0??
    Please add my MSN, chinshk@hotmail.com

  • Anonymous
    January 07, 2009
    Hi Robert, could you show me the steps for using EVC 4 to build co for WM 5.0? thanks ndhici@gmail.com

  • Anonymous
    January 20, 2009
    PingBack from http://www.hilpers.com/1072488-evc-4-platform

  • Anonymous
    February 03, 2009
    Hi Robert Scott, I have similar problem. Is it possible to use EVC 4.0 to target Windows Mobile 6? Thanks in advance, Herman