Archives
 
 
 
  Special
 
 
 
  About Us
 
 
 

Newsletter
Free E-mail Newsletter from BYTE.com

 
    
           
Visit the home page Browse the four-year online archive Download platform-neutral CPU/FPU benchmarks Find information for advertisers, authors, vendors, subscribers Request free information on products written about or advertised in BYTE Submit a press release, or scan recent announcements Talk with BYTE's staff and readers about products and technologies

ArticlesWindows CE Goes Global


January 1998 / Eval / Windows CE Goes Global

The Windows CE 2.0 SDK is Microsoft's best effort yet to create a Windows-everywhere world.

Peter Wayner

When Windows CE hand-held PCs (HPCs) first came out, users had to settle for software supplied by the manufacturer. No software development tools were available to anyone except Microsoft's partners. In the meantime, PalmPilot users quickly developed thousands of applications with Metrowerks' compiler.

Microsoft is playing catch-up and, as usual, is leveraging its strengths. Version 2.0 of the Windows CE Software Development Kit (SDK) integrates with Microsoft' s popular Visual C++ environment, so Windows programmers will feel r ight at home.

All this is part of Microsoft's limited version of the Java "write once, run anywhere" credo. Applications designed for Windows 95 should be portable (after some reworking) to CE, a strict subset of the standard Windows API. Almost all the calls in the Windows CE API are the same as the basic Win32 interfaces. The only additions are routines for power control, stylus control, and communications.

Ideally, you would create a copy of your source code, look for Win32 routines that didn't make the trip, and replace them with the simpler routines. It is rarely so easy. Memory and screen space are in short supply. Complicated GUIs need a redesign to fit on the screen. And if you like to use assembly code for speed, think again. Windows CE runs on chips from Mips, Hitachi, and Philips, so you must code for each.

Still, the SDK makes porting as easy as can be expected. The best approach is to start from scratch, plugging in code as you need it. The main job is designi ng an interface that works on small black-and-white screens. (CE 2.0 also supports color screens such as the one on Sharp's new Mobilon HPC.)

There are two emulators for the Gryphon and Mercury configurations. Mercury ( see the screen ) is the 320- by 240-pixel display on most CE machines. Gryphon adopts the vertical alignment of the PalmPilot or Apple Newton. Once the code is running, you can simulate it in a window, where the process becomes like developing code for a PC. The Visual C++ debugger, like the integrated development environment (IDE), is well integrated into the CE environment.

Documentation is extensive but not as helpful as it could be, and I struggled to get everything up and running. But overall, this new Windows CE SDK is a credible vehicle for spreading Windows to places it's never been before.


Where to Find


Microsoft Windows CE Free...............Version 2.0 Platform SDK beta 3

Microsof
t Corp.
Redmond, WA
Phone:    206-882-8080
Fax:      206-936-7329
Internet: 
http://www.microsoft.com/windowsce/

Enter HotBYTEs No. 1052.
Information on 
this product
 and similar products (operating systems)


HotBYTEs
 - information on products covered or advertised in BYTE


Microsoft Windows CE Ratings

Technology * * * *
Implementation * * *
Key: ***** Outstanding, **** Very Good, *** Good, ** Poor, * Fair


Looks and Feels Popular

screen_link (14 Kbytes)

The Windows CE 2.0 SDK's Mercury emulator simulates the most popular type of hand-held PC screen (320 by 240 pixels).


Peter Wayner ( http://www.access.digex.net/~pcw/pcwpage.html ) is a consulting editor who lives in Baltimore.

Up to the Eval section contentsGo to previous article: Go to next article: Windows CE and WebTV
Flexible C++
Matthew Wilson
My approach to software engineering is far more pragmatic than it is theoretical--and no language better exemplifies this than C++.

more...

BYTE Digest

BYTE Digest editors every month analyze and evaluate the best articles from Information Week, EE Times, Dr. Dobb's Journal, Network Computing, Sys Admin, and dozens of other CMP publications—bringing you critical news and information about wireless communication, computer security, software development, embedded systems, and more!

Find out more

BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE Volume 1: Programming Languages
The Best of BYTE
Volume 1: Programming Languages
In this issue of Best of BYTE, we bring together some of the leading programming language designers and implementors...

Copyright © 2005 CMP Media LLC, Privacy Policy, Your California Privacy rights, Terms of Service
Site comments: webmaster@byte.com
SDMG Web Sites: BYTE.com, C/C++ Users Journal, Dr. Dobb's Journal, MSDN Magazine, New Architect, SD Expo, SD Magazine, Sys Admin, The Perl Journal, UnixReview.com, Windows Developer Network