Log in

View Full Version : C#.net differences/restrictions in PC/PPC applications


roty
07-25-2003, 09:11 PM
Hi,

I'm looking for a detailed description about the differences of C#.net if the target application
is either a PC or a Pocket PC. I already discovered restrictions for example in textboxes
(textalign only left) or in forms (form icons does not apper on the PPC) and more.

I appreciate any hint about it.

Thanks

roty

Peter Foot
07-26-2003, 02:41 PM
There is quite a difference in functionality between the Compact Framework (Pocket PC) and the full Framework (PC). There is API documentation here which details some of the differences between the full and compact frameworks:-
http://smartdevices.microsoftdev.com/Downloads/Links_LinkRedirector.aspx?id=584

We have worked on a number of Namespaces at OpenNETCF.org - creating open source libraries which add some of the "missing" functionality into the Compact Framework:-
http://www.opennetcf.org

Its difficult to sum up the changes because they affect most areas of the framework - as you have noticed there is a smaller selection of Windows.Forms controls and properties, you will also find fewer overloads to some of the methods. These generally reflect the fact that Windows CE has only a subset of the full windows API's and the need to keep the compact framework runtime as compact as possible (~1.5MB). There are lots of workarounds, it just generally means coding a bit more of the nitty gritty yourself or using third-party libraries.

Just like with porting desktop C++ applications to eVC++ there are several areas in which changes will be required -especially UI and use of system resources and performance.

roty
07-26-2003, 07:00 PM
Peter,

Thanks a lot for that really helpful information.

Regards

Roty