PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Warning eVC4 !

Well I went ahead and ordered the evaluation copy of eVC++ 4.0, only crrently obtainable as part of the "Windows CE .NET Evaluation Software" from;

http://www.microsoft.com/windows/embedd ... valkit.asp

Fortunately I read the readme before installing, and decided not to bother. Here are some of my favourites;

"2.1.3 eMbedded Visual C++ 4.0 may not work if you upgrade your operating system.

2.1.6 Installation files are corrupted and "Add/Remove" option of the Installation wizard doesn't work.
Should your installation files become corrupted and the Add/Remove option of the Installation wizard does not work, delete the following registry key:

HKEY_LOCAL_MACHINE\software\microsoft\cestudio\4.0

This will allow you to install the product as a new installation.

4.3 eMbedded Visual C++ 4.0 does not support platforms with versions of Platform Builder earlier than 4.0.
Platforms used with versions of Platform Builder earlier than 4.0 are not supported. For example, the Pocket PC and Pocket PC 2002 SDKs, used with Platform Builder 3.0, will not be recognized.

5.4 __try blocks cause applications to stop responding while stepping through debug code.

5.7 MFC and ATL Projects may stop responding while debugging on the emulator.

5.8 Applications will occasionally fail to deploy the emulator.

6.2 Porting projects from previous versions.
To port projects from previous versions of eMbedded Visual C++, open a blank project and manually add the files from the old project to the new one. Support for ARM, MIPS, MIPSFP, or THUMB processors must also be added this way.

6.8 ActiveSync in eMbedded Visual Tools 3.0 may fail if you install eMbedded Visual C++ 4.0."

This is pretty appalling quality. I would estimate that it would take a team of 8 experienced programmers at least 6 months to rectify all the problems described in the readme. For me there are three key things that I would like to see;

FUNDAMENTALLY IMPORTANT

(1) Support for current Windows CE 3.0 platforms (e.g. current Pocket PC and Pocket PC 2002).

(2) Backwards compatibility of eVC workspaces and project files.

(3) The ability to install and cleanly uninstall eVC, and upgrade operating systems without the program failing.

(4) If the latest version of eVC does not support Windows CE 3.0 Pocket PC and Pocket PC 2002 platforms then at least users should be assured that they can use eVC3 on the same machine without any problems (e.g. the installation of eVC4 should not adversely affect the current eVC3 installation).

OTHER

(5) A stable implementation of STL.(I know a lot of other people might not need this).

What a mess.

regards,
Gary
nice...

way to be backwards compatible.
So what exactly are the benefits of 4.0?
Benefits:
-few
-and far between
For the supposed Benefits of eVC4 see;

http://msdn.microsoft.com/vstudio/device/datasheet.asp

Most of it relates to Windows CE.NET platforms. Of the stuff that doesn't, what I was particularlary interested in was;

"C++ Exception Handling, RTTI, STL, and Intrinsics

In addition to the standard Win32® API structured exception handling (SEH), you can now take advantage of C++ exception handling-which, because it can handle exceptions of any type, ensures that your code is more portable and more flexible.
Run Time Type Information (RTTI) provides a standard way to determine the class of an object, avoiding problems that could arise by using incompatible, vendor-specific techniques to provide that information.
Standard Template Library (STL) components provide a C++ program with access to a subset of the most widely used algorithms and data structures.
The Windows CE 4.0 compilers specify functions as intrinsic—generating the functions as inline code, not as function calls."

I was particularly interested in C++ exception handling (not supported on existing platforms). My aim was to try and leverage Pocket PC development using existing STL libraries. However, a lot of these use C++ exception handling currently not supported under Windows CE 3.0. Another thing that I was interested in was to see the extent to which they had addressed existing template handling of the compiler (I am under the impression that this has been done in Visual Studio going from V6.0 to .NET, although I haven't had the chance to confirm this yet).

Another thing that I have just noticed about eVC4 that is a bit worrying is the "generating the functions as inline code". Surely this should be up to the developer? This is quite bizarre.

Other than that, most of the "benefits" relate to development targetting CE.NET.

regards,

Gary