Building a PDA application, which to choose visual: c# or c++

Hello everyone,
I am interested in building a series of applications for a Windows Mobile 2003 SE device. What would be the best language to do it under Visual C++ or C# The application I plan to write essentially sends a command and receives data from a serial device. I've already written this program in the LabVIEW programming language, but it is too slow. (i.e. to complete one loop in the code takes ~2-3 minutes). Any advice would be greatly appreciated.

-George


Answer this question

Building a PDA application, which to choose visual: c# or c++

  • nobodyman

    CF is Compact Framework.

    .NET Compact Framework is a "stripped" version of the full .NET Framework (for the PC) which can run on the Windows Mobile based devices.

    you should be able to install .NET CF 2.0 SP1 on Windows CE 4.21

    http://www.microsoft.com/downloads/details.aspx displaylang=en&FamilyID=0C1B0A88-59E2-4EBA-A70E-4CD851C5FCC4

    As for the "plotting" - I believe this is all down to using the graphics functions in .NET which you would have to take care of, there is no standard "plot" class, so its pretty much a scratch design to be done.

    hope it helps!



  • spelger



  • mpetanovitch

    well it depends on your device.

    Some PPC WM2003 devices are supported I believe, but with the .NET CF 2.0 SP1 you can install it on Windows CE 4.1 or higher

    however it is almost guarenteed to be supported by majority of devices running WM2005

    It's not about the language you use, its about the Framework (the core libraries) - the language is there for you to use the library and create your applications.



  • Trilobite

    well it wouldnt make much of a difference whether you used C# or embedded VC++.NET as they would still be using the framework, C# being a friendlier easy to understand language than embedded VC++.NET

    as for books - not really sure, there havent been many created I believe for the .NET CF. I guess its all down to reading the resources online, msdn and asking questions here :-)



  • F. Gsell

    Thanks for your speedy reply,
    How do I find out if it support .Net 2.0 From the following two languages , Visual C# or Visual C++.net, which has a superior plotting tool. (i.e. graphing library)


  • Beric Holt

    ahmedilyas wrote:

    well it depends on your device.

    Some PPC WM2003 devices are supported I believe, but with the .NET CF 2.0 SP1 you can install it on Windows CE 4.1 or higher

    however it is almost guarenteed to be supported by majority of devices running WM2005

    It's not about the language you use, its about the Framework (the core libraries) - the language is there for you to use the library and create your applications.


    Ahh.. I did not know that. Well it seems the PDA we're using has CE 4.21. What does the CF stand for in your ".NET CF 2.0 SP1"...
    Are there libraries to plot data, such as the following:
    http://cnx.org/content/m12233/latest/

    thank you, once again for all your answers.

  • Mehmet Erdogdu

    Well you need the .NET CF Framework, then it is up to you which .NET Supported language you choose to create you software.

    VB.NET/C#/Visual C++.NET

    in .NET 2.0 (if your device supports it) there is a serialports class, which will do exactly what you require I believe.

    Hope it helps!



  • Building a PDA application, which to choose visual: c# or c++