Log in

View Full Version : Your thoughts


ppda
08-20-2003, 10:16 PM
I currently have an application that runs on pocket pc 2002 (all processors) and I wrote it with C++. The issue is it won't run on pocket 2003 with xscale processor. I haven't determine whether it is OS issue or Processor issue or Both. I am thinking, rewritting the application using VB for pocket 2002 and installed the eMbedded VB runtime on pocket pc 2003.

Your thoughts and many thanks. :|

Peter Foot
08-20-2003, 10:30 PM
To target Pocket PC 2003 you should recompile your application in eVC++ 4.0 SP2. Because Pocket PC 2003 uses a newer version of the Windows CE operating system (4.2 as opposed to 3.0) there are some changes specifically if you have used MFC.

eVC++ 4.0 is a free download from Microsoft.
http://www.microsoft.com/downloads/details.aspx?familyid=1dacdb3d-50d1-41b2-a107-fa75ae960856&languageid=f49e8428-7071-4979-8a67-3cffcb0c2524&displaylang=en

SP2 (Required for Pocket PC 2003 support)
http://www.microsoft.com/downloads/details.aspx?familyid=ce7f1aaa-54eb-4989-812b-7f955605dcb8&displaylang=en

And if you don't already have it the Pocket PC 2003 SDK
http://www.microsoft.com/downloads/details.aspx?familyid=9996b314-0364-4623-9ede-0b5fbb133652&displaylang=en

Hope this helps,

Peter

ppda
08-20-2003, 10:53 PM
Hello Peter,

Thank you for your thoughts... would this cover pocket pc 2002 users?

Many thanks :|

Peter Foot
08-23-2003, 09:59 AM
For Pocket PC 2002 you must continue to compile in eVC++ 3.0. You can share your source files between projects by using #ifdef preprocessor directives around any differences required by the two versions.

Peter

rhmorrison
08-23-2003, 10:38 AM
To target Pocket PC 2003 you should recompile your application in eVC++ 4.0 SP2. Because Pocket PC 2003 uses a newer version of the Windows CE operating system (4.2 as opposed to 3.0) there are some changes specifically if you have used MFC.
And what if you are NOT using MFC but instead plain WinCE API? Will programs compiled then work under PocketPC 2003?

ebadger
09-17-2003, 03:00 AM
I think the answer there is, probably it will work.
However, not necessarily. Recompiling with the tools for the OS you are targeting is always the best choice :)

hudsonmobile
09-19-2003, 03:36 PM
If you are using plain Win CE API, the programs you compiled with Embedded Visual C++ 3 should work on PPC 2003 as well, but there may be subtle differences in function calls and other areas that you have to watch out for. (at least, that is what happened with us)

I would concur that if you had the time to rebuild with EVC4 for PPC2003, the method of using ifdefs to keep versions for each OS works well -- build a separate project in each environment using the same source files.