Many developers have tried the software programming based on wireless devices, but these ideas are the key to success in deepening the features and disadvantages of Windows CE. This article describes some of the basic features of Windows CE, and points out the knowledge that transitions to software development based on wireless devices.
Start
The Windows CE operating system supports many features and can be compiled by many different CPUs. She supports multi-threaded, including multiple optional GUIs. As her brother, Windows CE also has the characteristics of a desktop computer operating system, so developers can easily perform Windows CE-based software development without spending too much time.
In this section, we are concerned about how to develop in Windows CE-based Pocket PC and PCKET PC2002 platforms. These two platforms are implemented via Windows CE3.0. Microsoft also released a new set of Windows CE versions, namely Windows CE.NET, which is often said to Windows CE4.0.
The Pocket PC2002 object platform needs to download a new set of SDK, but she integrates in the Embedded Tools 3.0 software, when writing code, but she has the following improvements.
Communication improvement
New connection manager
Support Object Exchange (Obex)
Phone API
2. Improved availability
New Message Response System
Current screen housing
Sleal minimization
3. Network browser new features
4. New HTML control
Development of Pocket PC Platform Based on Windows CE
In order to develop in the Windows CE3.0 system, you must download Microsoft's Embedded Tools 3.0 software, this software contains Embedded Visual C 3.0 and Embedded Visual Basic 3.0, and she also provides Pocket PC, Pocket PC, change All SDKs of the portable PC. Visual C and Visual Basic are independent, if you want to develop a specific object platform, you have to download the additional SDK of Pocket PC2002.
All SDK accompanied by emulators, you can use this simulator to simulate test in the desktop PC. You can develop it on the Pocket PC or Pocket PC2002 without an object Pocket PC system. What you need is Embedded Visual Tools 3.0 software, the appropriate SDK and a PC are sufficient. Figures A and D B show the emulator of the Pocket PC and Pocket PC2002. If you really want to develop on a Pocket PC device, you can connect together with the USB port and the desktop PC.
Figure A
Pocket PC Simulator
Figure B
Pocket PC 2002 Simulator
Developed using Embedded Visual Tools software
Many developers are amazed at the development of the Windows CE operating system and its development tools and desktop systems have many identities. Embedded Tools 3.0 software covers the following features:
Windows CE Pocket PC2002 Application
Windows CE Pocket PC2002 MFC Wizard
Windows CE application
Windows CE ATL COM Wizard
Windows CE Dynamic Connection Library
Windows CE MFC Active Wizard
Windows CE MFC Wizard (.dll)
Windows CE MFC Wizard (.exe)
Windows CE Pocket PC Application
Windows CE Pocket PC MFC Wizard (.exe)
Windows CE Phone 2002 Application
Windows CE Static Connection Library
Microsoft supports MFC, ATL, and conventional Win32 APIs. Compared to desktop computer systems, Win32 APIs (including MFC) have great restrictions, for example, many behaviors in the Windows CE system are not very obvious, even if she also allows you to operate like a desktop PC. You can draw a straight line, round, ellipse, but does not support multiple mapping patterns. The only WINDOWS CE supports MM_Text mode, she does not support coordinate conversion.
Maybe you really want to know which CPU type supported by Embedded Visual Tools 3.0 software. Although the pocket PC2002 only supports the ARM processor, Embedded Visual Tools provides a variety of options for the following CPU types:
ARM, MIPS, PPC, SHX, X86 and Thumb. Although Embedded Tools serves as a compiler of Windows CE 3.0, she also supports many different objects.
Embedded Visual C 4.0 and Windows CE.NET
Microsoft has released a new version of Embedded Visual C 3.0, that is, the eMbedded Visual C 4.0. This compiler is mainly the development of an interim in the Windows CE.NET operating system. So far, there is no appearance of Embedded Visual Basic 4.0, but also has no appearance of the Pocket PC SDK based on Embedded Visual C 4.0.
Now you can download Embedded Visual C 4.0 on the Microsoft home page and can be developed using the supplied emulators. As long as you are willing to get enough funds, you can develop it for a hardware object.
I think Embedded Visual Tools 3.0 is most upset to do not support C abnormal behavior, so Embedded Visual Tools 3.0 cannot perform a standard template class library. These issues are modified in Embedded Visual Tools 4.0, so Embedded Visual Tools 4.0 can compatibility with C .
Development of true applications
If you are already familiar with Visual Studio, you can quickly get started for Windows CE and Pocket PC. When I first developed on the Pocket PC, I only spend 5 minutes, I can complete the "Hello World" program (Figure C). Simply install Embedded Visual C , establish an engineering, select the standard MFC Pocket PC wizard, and then compile it.
Figure C
Hello World Application
It is worth noting that Embedded Visual C includes a lot of additional options, you can use these to select the CPU type and system platform. If you use the Pocket PC2002 emulator to develop, you can choose the Pocket PC 2002 program, Win32 (WCE X86) debugger, etc.
If you compile in the real Pocket PC2002 device, you can connect to the USB port and the desktop, then install Embedded Visual C , establish an engineering, to establish an object of the Pocket PC 2002 program, using the Win32 (WCE ARM) debugger.
When a project is established, you must select the CPU type that you will match the program. If you don't choose a CPU type in advance, it will spend great energy and time after compiling. In the default, all CPU types are selected, which is also the best way to develop. There is no harm in the additional CPU type. in conclusion
This article we introduced Windows CE 3.0 and Windows Ce.net. The Embedded Visual C Tools software is discussed and some of the complex features of Pocket PC and Pocket PC2002 are mentioned. In the subsequent chapters, we will deepen the programming of the Pocket PC, specially focus on accessing the registry and the development of professional GUI.