Welcome to MSDN Blogs Sign in | Join | Help

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

Published Tuesday, February 14, 2006 9:53 AM by marcpe

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Using EVC 4.0 to build code for WM 5.0

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
Tuesday, February 28, 2006 11:58 AM by Robert Scott

# re: Using EVC 4.0 to build code for WM 5.0

Hi Robert Scott,
Would you add my MSN?? chinshk@hotmail.com
I would like to ask you more about this in detail. Thanks.
Thursday, April 06, 2006 4:02 AM by Frankie Chow

# re: Using EVC 4.0 to build code for WM 5.0

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
Friday, April 07, 2006 12:34 AM by Frankie Chow

# re: Using EVC 4.0 to build code for WM 5.0

Hi Robert,

could you show me the steps for using EVC 4 to build co for WM 5.0?

thanks

ndhici@gmail.com

Wednesday, January 07, 2009 10:47 PM by Andhi

# eVC++4, Platform | hilpers

Tuesday, January 20, 2009 10:57 AM by eVC++4, Platform | hilpers

# Using EVC 4.0 target to Window Mobile 6

Hi Robert Scott,

I have similar problem.

Is it possible to use EVC 4.0 to target Windows Mobile 6?

Thanks in advance,

Herman

Wednesday, February 04, 2009 2:59 AM by Herman

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker