Windows Embedded Compact Explained

Windows CE
Developer:Microsoft
Discontinued:yes
License:Commercial proprietary software
Succeeded By:Windows IoT Windows RT
Kernel Type:Hybrid
Supported Platforms:x86, 32-bit ARM, (SuperH[1] up to 6.0 R2, MIPS and PowerPC were also supported)[2] [3] [4] [5] [6] [7]
Latest Release Version:8.0 (Embedded Compact 2013)
Latest Release Date:[8] [9]
Programmed In:C[10]
Support Status:Not supported, see § Releases for details.

Windows Embedded Compact,[11] formerly Windows Embedded CE, Windows Powered and Windows CE, is a discontinued operating system developed by Microsoft for mobile and embedded devices. It was part of the Windows Embedded family and served as the foundation of several classes of devices including the Handheld PC, Pocket PC, Auto PC, Windows Mobile, Windows Phone 7 and others.

Unlike Windows Embedded Standard, which is based on Windows NT, Windows Embedded Compact uses a different hybrid kernel.[12] Microsoft licenses it to original equipment manufacturers (OEMs), who can modify and create their own user interfaces and experiences, with Windows Embedded Compact providing the technical foundation to do so. The final version of Windows Embedded Compact supports x86 and ARM processors with board support package (BSP) directly.[13] The MIPS and SHx architectures had support prior to version 7.0 and version 7.0 still works on MIPS II architecture.

Windows Embedded Compact 2013 is the final version of Windows CE. It had mainstream support until October 9, 2018, and extended support ended on October 10, 2023; however, license sales for OEMs will continue until 2028.[14] [9] [15] [16]

Features

Windows CE is optimized for devices that have minimal memory; a Windows CE kernel may run with one megabyte of memory.[17] Devices are often configured without disk storage, and may be configured as a "closed" system that does not allow for end-user extension (for instance, it can be burned into ROM). Windows CE conforms to the definition of a real-time operating system, with a deterministic interrupt latency. From Version 3 and onward, the system supports 256 priority levels[18] and uses priority inheritance for dealing with priority inversion. The fundamental unit of execution is the thread. This helps to simplify the interface and improve execution time.

The first version known during development under the code name "Pegasus" featured a Windows-like GUI and a number of Microsoft's popular apps, all trimmed down for smaller storage, memory, and speed of the palmtops of the day. Since then, Windows CE has evolved into a component-based, embedded, real-time operating system. It is no longer targeted solely at hand-held computers.[19] Many platforms have been based on the core Windows CE operating system, including Microsoft's AutoPC, Pocket PC 2000, Pocket PC 2002, Windows Mobile 2003, Windows Mobile 2003 SE, Windows Mobile 5, Windows Mobile 6, Smartphone 2002, Smartphone 2003, Portable Media Center, Zune, Windows Phone 7 and many industrial devices and embedded systems. Windows CE even powered select games for the Sega Dreamcast and was the operating system of the Gizmondo handheld.

A distinctive feature of Windows CE compared to other Microsoft operating systems is that large parts of it are offered in source code form. First, source code was offered to several vendors, so they could adjust it to their hardware. Then products like Platform Builder (an integrated environment for Windows CE OS image creation and integration, or customized operating system designs based on CE) offered several components in source code form to the general public. However, a number of core components that do not need adaptation to specific hardware environments (other than the CPU family) are still distributed in binary only form.

Windows CE 2.11 was the first embedded Windows release to support a console and a Windows CE version of .[20]

History

Windows Embedded Compact was formerly known as Windows CE. According to Microsoft, "CE" is not an explicit acronym for anything, although it implies a number of notions that Windows developers had in mind, such as "compact", "connectable", "compatible", "companion" and "efficient".[21] [22] The name changed once in 2006, with the release of Windows Embedded CE 6.0, and again in 2011, with the release of Windows Embedded Compact 7.

Windows CE was originally announced by Microsoft at the Computer Dealers' Exhibition (COMDEX) in 1996 and was demonstrated on stage by Bill Gates and John McGill. Microsoft had been testing Pegasus in early 1995 and released a strict reference platform to several hardware partners. The devices had to have the following minimum hardware specifications:

Devices of the time mainly had 480×240 pixel displays with the exception of the Hewlett-Packard 'Palmtop PC' which had a 640×240 display. Each window took over the full display. Navigation was done by tapping or double tapping on an item. A contextual menu was also available by the user pressing the ALT key and tapping on the screen. Windows CE 1.0 did not include a cascading Start menu, although Windows 95 and Windows NT 4.0 did. Microsoft released the Windows CE 1.0 Power Toys that included a cascading menu icon that appeared in the system tray. Also bundled were several other utilities, most notable were a sound applet for the system tray, enabling the user to quickly mute or unmute their device or adjust the volume and a 'pocket' version of Paint.

The release of Windows CE 2.0 was well received. Microsoft learned its lessons from consumer feedback of Windows CE 1.0 and made many improvements to the operating system. The Start menu was a cascading menu, identical to those found on Windows 95 and Windows NT 4.0. Color screens were also supported and manufacturers raced to release the first color H/PC. The first to market was Hewlett Packard with the HP 620LX. Windows CE 2.0 also supported a broader range of CPU architectures. Programs could be also installed directly in the OS by double clicking on CAB files. Due to the nature of the ROMs that contained the operating system, users were not able to flash their devices with the newer operating system. Instead manufacturers released upgrade ROMs that users had to physically install in their devices, after removing the previous version. This would usually wipe the data on the device and present the user with the setup wizard upon first boot.

In November 1999, it was reported that Microsoft was planning to rename Windows CE to Windows Powered.[23] The name only appeared in brand in Handheld PC 2000 and a build of Windows 2000 Advanced Server for network-attached storage devices (which bears no relation to Windows CE). Various Windows CE 3.0 products announced at CES 2001 were marketed under a "Windows Powered" umbrella name.[24]

Development tools

Visual Studio

Microsoft Visual Studio 2012, 2013, and 2015 support apps and Platform Builder development for Windows Embedded Compact 2013.[25]

Microsoft Visual Studio 2008 and earlier support projects for older releases of Windows CE/Windows Mobile, producing executable programs and platform images either as an emulator or attached by cable to an actual mobile device. A mobile device is not necessary to develop a CE program. The .NET Compact Framework supports a subset of the .NET Framework with projects in C#, and Visual Basic (.NET), but not Managed C++. "Managed" apps employing the .NET Compact Framework also require devices with significantly larger memories (8 MB or more) while unmanaged apps can still run successfully on smaller devices. In Visual Studio 2010, the Windows Phone Developer Tools are used as an extension, allowing Windows Phone 7 apps to be designed and tested within Visual Studio.

Free Pascal and Lazarus

Free Pascal introduced the Windows CE port in Version 2.2.0, targeting ARM and x86 architectures. Later, the Windows CE header files were translated for use with Lazarus, a rapid application development (RAD) software package based on Free Pascal. Windows CE apps are designed and coded in the Lazarus integrated development environment (IDE) and compiled with an appropriate cross compiler.[26]

Platform Builder

This programming tool is used for building the platform (BSP + Kernel), device drivers (shared source or custom made) and also the apps. This is a one stop environment to get the system up and running. One can also use Platform Builder to export a software development kit (SDK) for the target microprocessor (SuperH, x86, MIPS, ARM etc.) to be used with another associated tool set named below.

Others

The Embedded Microsoft Visual C++ (eVC) a tool for development of embedded apps for Windows CE. It can be used standalone using the SDK exported from Platform Builder or using the Platform Builder's Platform Manager connectivity setup.

CeGcc project provides GNU development tools, such as GNU C, GNU C++ and binutils that targeting Windows CE;[27] 2 SDKs are available to choose from a standard Windows CE platform SDK based on MinGW, and a newlib-based SDK which may be easier for porting programs from POSIX systems.[28]

CodeGear Delphi Prism runs in Visual Studio, also supports the .NET Compact Framework and thus can be used to develop mobile apps. It employs the Oxygene compiler created by RemObjects Software, which targets .NET, the .NET Compact Framework, and Mono. Its command-line compiler is available free of charge.

Basic4ppc a programming language similar to Embedded Visual Basic, targets the .NET Compact Framework and supports Windows CE and Windows Mobile devices.

GLBasic a very easy to learn and use BASIC dialect that compiles for many platforms, including Windows CE and Windows Mobile. It can be extended by writing inline C/C++ code.

LabVIEW a graphical programming language, supporting many platforms, including Windows CE.

MortScript is the semi-standard, extremely lightweight, automation SDK popular with the GPS enthusiasts. Uses the scripts written in its own language, with the syntax being aside to VBScript or JScript.

AutoHotkey a port of the open source macro-creation and automation software utility available for Windows CE. It allows the construction of macros and simple GUI apps developed by systems analyst Jonathan Maxian Timkang.[29]

Relationship to Windows Mobile, Pocket PC, and Smartphone

Often Windows CE, Windows Mobile, and Pocket PC are used interchangeably, in part due to their common origin. This practice is not entirely accurate. Windows CE is a modular/componentized operating system that serves as the foundation of several classes of devices. Some of these modules provide subsets of other components' features (e.g. varying levels of windowing support; DCOM vs COM), others which are separate (bitmap or TrueType font support), and others which add additional features to another component. One can buy a kit (the Platform Builder) which contains all these components and the tools with which to develop a custom platform. Apps such as Excel Mobile (formerly Pocket Excel) are not part of this kit. The older Handheld PC version of Pocket Word and several other older apps are included as samples, however.

Windows Mobile is best described as a subset of platforms based on a Windows CE underpinning. Currently, Pocket PC (now called Windows Mobile Classic), Smartphone (Windows Mobile Standard), and Pocket PC Phone Edition (Windows Mobile Professional) are the three main platforms under the Windows Mobile umbrella. Each platform uses different components of Windows CE, plus supplemental features and apps suited for their respective devices.

Pocket PC and Windows Mobile are Microsoft-defined custom platforms for general PDA use, consisting of a Microsoft-defined set of minimum profiles (Professional Edition, Premium Edition) of software and hardware that is supported. The rules for manufacturing a Pocket PC device are stricter than those for producing a custom Windows CE-based platform. The defining characteristics of the Pocket PC are the touchscreen as the primary human interface device and its extremely portable size.

CE 3.0 is the basis for Pocket PC 2000 and Pocket PC 2002. A successor to CE 3.0 is CE.net. "PocketPC [is] a separate layer of code on top of the core Windows CE OS… Pocket PC is based on Windows CE, but it's a different offering." And licensees of Pocket PC are forbidden to modify the WinCE part.[30]

The Smartphone platform is a feature-rich OS and interface for cellular phone handsets. SmartPhone offers productivity features to business users, such as email, and multimedia abilities for consumers. The SmartPhone interface relies heavily on joystick navigation and PhonePad input. Devices running SmartPhone do not include a touchscreen interface. SmartPhone devices generally resemble other cellular handset form factors, whereas most Phone Edition devices use a PDA form factor with a larger display.

Releases

Version Changes
style=text-align:center1.0Released November 16, 1996.[31] Codename "Pegasus" and "Alder".[32]
  • Devices named "handheld PC" (H/PC)
  • 4 MB ROM minimum
  • 2 MB RAM minimum

1.01 version (1.0a) added Japanese language support.Unsupported as of December 31, 2001.

style=text-align:center2.0Released September 29, 1997.[33] Codenamed "Birch".
  • Devices named "Palm-size PC" (PsPC)
  • Real-time deterministic task scheduling
  • Architectures: ARM, MIPS, PowerPC, StrongARM, SuperH and x86
  • 32-bit color screens
  • SSL 2.0 and SSL 3.0

2.11 version (Palm-Size PC 1.1) changed screen resolution to QVGA, added handwriting recognition.2.11 version (Palm-Size PC 1.2) based on Windows CE H/PC 2.11 kernel, removed Pocket Office.HandeldPC 2.11 version (HandheldPC Professional) added small versions of Microsoft Access, improved Microsoft Office documents formats support.Unsupported as of September 30, 2002 for Windows CE 2.11. Mainstream Support ended on September 30, 2003, and Extended Support ended on September 30, 2005, for Windows CE 2.12.

style=text-align:center3.0Released June 15, 2000.[34] Codenamed "Cedar" and "Galileo".
  • Major recode that made CE hard real time down to the microsecond level
  • Base for the Pocket PC 2000, Handheld PC 2000, Pocket PC 2002 and Smartphone 2002
  • Priority levels were increased from 8 to 256
  • Object store was increased from 65,536 to 4.19 million allowed objects
  • Restricted access to critical APIs or restricting write access to parts of the registry

Mainstream Support ended on September 30, 2005, and Extended Support ended on October 9, 2007.

style=text-align:center4.xReleased January 7, 2002.[35] Codenamed "Talisker/Jameson/McKendric".

Mainstream Support ended on July 10, 2007, and Extended Support ended on July 10, 2012, for Windows CE 4.0, Mainstream Support ended on January 8, 2008, and Extended Support ended on January 8, 2013, for Windows CE 4.1 and Mainstream Support ended on July 8, 2008, and Extended Support ended on July 9, 2013, for Windows CE 4.2.

style=text-align:center5.xReleased in August 2004. Adds many new features. Codenamed "Macallan"
  • Added automatic reporting for manufacturers[37]
  • Direct3D Mobile, a COM-based version of Windows XP's DirectX multimedia API
  • DirectDraw for 2D graphics and DirectShow for camera and video digitisation support
  • Remote Desktop Protocol (RDP) support[38]
  • The "Pro" version contains the Internet Explorer browser and Windows Media Player 9

Mainstream Support ended on October 13, 2009 and Extended Support ended on October 14, 2014.

style=text-align:center6.0Released in September 2006. Codenamed "Yamazaki".
  • Process address space is increased from 32 MB to 2 GB;[39] each process now has its own virtual memory map (all processes shared a VM map in CE 5.0)[40]
  • Number of processes has been increased from 32 to 32,768[41]
  • User mode and kernel mode device drivers are possible
  • 512 MB physically managed memory
  • Device.exe, filesys.exe, GWES.exe have been moved to Kernel mode
  • Cellcore
  • SetKMode and set process permissions no longer possible
  • System call performance improved[42]
  • the platform builder requires Microsoft Visual Studio 2005 with Service Pack 1 installed.

Mainstream Support ended on April 9, 2013, and Extended Support ended on April 10, 2018.

style=text-align:center7.0Released in March 2011.
  • Support for x86, SH (automotive only) and ARM.
  • Multi-core CPU support (SMP).
  • Wi-Fi Positioning System.
  • Bluetooth 3.0 + HS support.
  • Digital Living Network Alliance (DLNA).
  • DRM technology.
  • Media Transfer Protocol.
  • Windows Phone 7 IE with Flash 10.1 support.
  • NDIS 6.1 support.
  • UX C++ XAML API using technologies like Windows Presentation Foundation and Silverlight for attractive and functional user interfaces.
  • Modernized graphics based on OpenGL ES 2.0.
  • Advanced touch and gesture input.
  • Kernel support for 3 GB physical RAM and supports ARMv7 assembly.
  • the platform builder requires Microsoft Visual Studio 2008 with Service Pack 1 installed.

Mainstream Support ended on April 12, 2016, and Extended Support ended on April 13, 2021.

style=text-align:center8.0
(2013)
Released in June 2013
  • DHCPv6 client with stateful/stateless address configuration.[43]
  • L2TP/IPsec over IPv6 for VPN connectivity.
  • Snapshot boot.
  • Improved XAML data binding and Expression Blend support.
  • OOM Model improvements from 7.
  • HTML help viewer added.
  • The previously default desktop shell has been eliminated.
  • the platform builder requires Microsoft Visual Studio 2012, 2013 or 2015 installed.

Mainstream Support ended on October 9, 2018, and Extended Support ended on October 10, 2023.

See also

External links

Notes and References

  1. Web site: Windows CE overview. https://web.archive.org/web/20100528144239/http://www.emacinc.com/operating_systems/windows_ce.htm. May 28, 2010.
  2. Web site: Windows Embedded CE. Microsoft. Microsoft. February 6, 2015. dead. https://web.archive.org/web/20150717180230/http://www.microsoft.com/windowsembedded/en-us/evaluate/windows-embedded-ce-6.aspx. July 17, 2015.
  3. Web site: Windows CE Version 2.0 Supported Processors. dead. Microsoft. Microsoft. https://web.archive.org/web/20000914080019/http://microsoft.com/windows/embedded/ce/guide/processors/proc20.asp. Sep 14, 2000.
  4. Web site: Windows CE Version 2.1 Supported Processors. dead. Microsoft. Microsoft. https://web.archive.org/web/20000914080014/http://microsoft.com/windows/embedded/ce/guide/processors/proc21.asp. Sep 14, 2000.
  5. Web site: Windows CE Version 2.11 Supported Processors. dead. Microsoft. Microsoft. https://web.archive.org/web/20000914080010/http://microsoft.com/windows/embedded/ce/guide/processors/proc211.asp. Sep 14, 2000.
  6. Web site: Windows CE Version 2.12 Supported Processors. dead. Microsoft. Microsoft. https://web.archive.org/web/20000914080005/http://microsoft.com/windows/embedded/ce/guide/processors/proc212.asp. Sep 14, 2000.
  7. Web site: Windows CE Version 3.0 Supported Processors. dead. Microsoft. Microsoft. https://web.archive.org/web/20000619051423/http://www.microsoft.com/windows/embedded/ce/guide/processors/proc30.asp. Jun 19, 2000.
  8. Web site: Microsoft announces general availability of Windows Embedded Compact 2013. Microsoft News Center. Microsoft. July 14, 2013.
  9. Web site: Windows CE Migration FAQ. https://web.archive.org/web/20211022204619/http://docs.microsoft.com/en-us/windows/iot/windows_ce/windows-ce-migration-faq. Microsoft. September 15, 2021. October 22, 2021. live.
  10. Web site: Special Report: Windows CE 6 arrives with 100% kernel source. windowsfordevices.com. November 1, 2006. July 20, 2011. https://web.archive.org/web/20120820002206/http://www.windowsfordevices.com/c/a/News/Special-Report-Windows-CE-6-arrives-with-100-kernel-source. August 20, 2012.
  11. Web site: Windows Embedded Homepage. Microsoft.com. November 14, 2010.
  12. Web site: How does Windows Embedded CE 6.0 Start?. https://web.archive.org/web/20100708223127/http://blogs.msdn.com/b/ce_base/archive/2007/11/26/how-does-windows-embedded-ce-6.0-start_3f00_.aspx. dead. July 8, 2010. Windows CE Base Team Blog. Microsoft. December 18, 2007. November 14, 2010.
  13. Web site: Board Support Package (Compact 2013). MSDN. Microsoft. July 15, 2013.
  14. Web site: Product Lifecycles & Support for Windows Embedded Products. https://web.archive.org/web/20150410235645/http://www.microsoft.com/windowsembedded/en-us/product-lifecycles.aspx. Microsoft. April 10, 2015.
  15. Web site: Windows CE, Microsoft's stunted middle child, reaches end of support at 26 years. Ars Technica. Kevin. Purdy. October 30, 2023. January 10, 2024.
  16. Web site: Windows CE reaches end of life, if not end of sales. The Register. Liam. Proven. October 30, 2023. January 10, 2024.
  17. Web site: Create or Modify a BSP (Compact 2013). Microsoft Developer Network. Microsoft. June 11, 2014.
  18. Web site: Priority Levels. April 8, 2010 . Msdn.microsoft.com. November 14, 2010.
  19. Web site: Embedded Platform | Integrated Development Environment (IDE) | Windows CE. Microsoft.com. November 14, 2010.
  20. Book: Douglas McConnaughey Boling. 2001. Programming Microsoft Windows CE. 2nd. Microsoft Press. 978-0735614437.
  21. Web site: The Meaning of "CE" in Windows CE launch date. support.microsoft.com. February 14, 2015. February 14, 2015. https://web.archive.org/web/20130910113022/http://support.microsoft.com/kb/166915. 2013-09-10.
  22. Web site: Microsoft renames Windows CE, sets CE 6.0 launch date. windowsfordevices.com. September 22, 2006. July 20, 2011. https://web.archive.org/web/20090104153759/http://www.windowsfordevices.com/news/NS5452934855.html. January 4, 2009.
  23. Web site: CNET: Windows CE to become 'Windows powered'. December 1999.
  24. Web site: IT Pro. https://web.archive.org/web/20050419082235/http://www.windowsitpro.com/Article/ArticleID/19604/19604.html. April 19, 2005.
  25. Web site: What's New (Compact 2013). MSDN. Microsoft. January 24, 2016. compact2013_what_is_new.
  26. http://wiki.lazarus.freepascal.org/WinCE_port WinCE port
  27. Web site: The CeGCC project: cross compile for Windows CE. 2021-06-12.
  28. Web site: Choosing in which environment to develop. CeGcc. 2021-06-12.
  29. http://www.autohotkey.net/~Micha/AutohotkeyCE/html/index.htm Autohotkey build for CE devices
  30. Web site: Smith. Tony. Why Pocket PC isn't WinCE. The Register. April 16, 2003. October 24, 2009.
  31. News: Microsoft Announces Broad Availability of Handheld PCs With Windows CE. Microsoft News Center. November 18, 1996. June 20, 2011.
  32. Web site: Hall. Mike. Windows Embedded Blog: CE 6.0 - why the codename "Yamazaki" ?. MSDN Blogs. September 19, 2006. October 24, 2009.
  33. News: Microsoft Announces Release of Windows CE 2.0. Microsoft News Center. September 29, 1997. July 27, 2015.
  34. News: Microsoft Announces Availability of Windows CE 3.0. Microsoft News Center. June 15, 2000. June 20, 2011.
  35. News: Microsoft Launches Windows CE .NET. Microsoft News Center. January 7, 2002. June 20, 2011.
  36. News: Walker. Geoff. Windows CE .Net: Microsoft's successor to Windows CE 3.0. Pen Computing Magazine. January 7, 2002. October 24, 2009.
  37. News: Smith. Tony. MS readies WinCE 5.0 preview. The Register. March 29, 2004. October 24, 2009.
  38. Web site: The History of the PDA. DOC. May 17, 2009. March 22, 2012. https://web.archive.org/web/20120322204407/http://seditaville.com/academic/summary/The%20History%20of%20Microsoft%20Mobile%20OS(Ver%202).doc. dead. 090517 seditaville.com
  39. Web site: Windows Embedded CE 6.0 Advanced Memory Management. October 10, 2013 . Retrieved May 25, 2011
  40. https://courses.washington.edu/cp105/_downloads/Windows_CE_Architecture.pdf; identical to https://download.microsoft.com/documents/australia/medc2006/windows_ce6_architecture_boling.ppt
  41. Web site: Leckie. Andrew. Introduction to Microsoft embedded technologies - Session 1. PPT, 10 MB. Embedded .NET User Group. New Zealand. March 25, 2008. https://web.archive.org/web/20110724195514/http://www.embedded.net.nz/Presentations%20PPT%20%20PDF/Embedded%20Introduction%20-%20Session%201.ppt. July 24, 2011.
  42. Web site: Babu. K. Ashok. Differences between Windows CE 5.0 and Windows CE 6.0. WindowsForDevices.com. November 22, 2006. October 24, 2009. https://web.archive.org/web/20120716194951/http://www.windowsfordevices.com/c/a/Windows-For-Devices-Articles/Differences-between-Windows-CE-50-and-Windows-CE-60. July 16, 2012.
  43. Web site: What's New (Compact 2013). MSDN. Microsoft. July 15, 2013.