Visual C++ Express for WIn CE?

I started to learn VC++ Express, and assumed that since it generats managed code for FORM applications, I could just copy the working app. to my CE mobile, but it is not working.

What do I have to do in order to have the portabilty (same manged code runs on mobile or desktop), or, if this is impossible , what do I need to do in order to have a working app. on my mobile

Thanks.



Answer this question

Visual C++ Express for WIn CE?

  • MatthewRay

    C++ generates native code, C++/CLI generates managed code. Whatever it is, you can not develop for devices with Express. C++/CLI is not supported by NETCF at all, native C++ is supported on devices by VS 2005 SE or above.

    To sum up, you can develop for devices with native C++, C# of VB.Net using VS 2005 SE or above, Express is not an option.



  • John Bock

    First of all Visual C++ Express will generate native code. It is "C++" afterall :)

    You need Visual Studio 2005 Std or above to be able to write managed applications (C# or VB.NET) for mobile phones and/or smart devices.

    Using VS 2005 you can also write C++ native applications for smart devices.

    Manav



  • Turfnsurf4me

    Thanks for clearing this up.

    Johanan


  • Sianspheric

    Hi Manav,

    Thanks, but somthing I don't understand. It is true that VC++ Exprs is genarating native code, but it does so only for consul applications(projects) or if you start with an empty project. If you start a windows form project, it genarates managed code (even though it is a C++ compiler) this is a fact.

    I even tranfered this managed code to my Imate WinCE, and got a message on the IMATE that the .net CFramwork is not compatible. I tried to upgrade it on the Imate, but still didn't work, so I posted my question.

    Johanan


  • Visual C++ Express for WIn CE?