CeLib is a collection of classes that are a cross between ATL and MFC Window classes with some additional functionality thrown in to get some of the functionality you get from MFC (string, network and UI).
I first started programming for Windows CE version 2.0 for HPC and 2.01 for Palm-sized PC. The only tools, available were a Visual Studio 5.0 plugin for C++ and a Visual Basic plugin for 5.0. MFC was avialble for the 2.0 HPC platform, but not for 2.01 Palm-sized PC, in addition it was a 300+ K additional installation and wasn't yet included on most ROMs. I needed to write applications that would run on both so MFC and ATL were out. So I looked at the source for MFC and ATL and some other window class library and stole the ideas and wrote my own.
An application with significant functionality can be created in 20k. The database browser that is included is about 50k and requires no DLLs that aren't already installed.
These libraries will build for operating system versions 2.0, 2.01 and 2.11. They have been tested and work on HPC 2.0, Palm-sized PC 1.0, Palm-sized PC 1.2, HPC Pro 3.0, and PocketPC in compatibilty mode.
Some important files
|CePlatform.h ||Compile time defines to make life easier for version differences in library includes all libraries required for COM and normal Window functionality. Library names are different across different version of CE as well as between the emulator and non-emulator versions, this header hides those differences.
Also note that in Windows CE, many library functions from Windows 95/NT like WINSOCK and TAPI are included in the standard libraries, NOT in a special libraries.
|CeDebug.h ||Debug support such as |
|CeMisc.h ||Miscellaneous helper classes|
|reference counted string class, |
CString plus numeric conversion
|A wrapper around |
HWND that provides for windows calls, but does not handle messages at all.
|Message Handling for any class through multiple inheritance.|
|Derived from both |
CeMsgWnd to create the functionality of
CWindowImpl (ATL) or
CWnd (MFC), a basic Window wrapper
|Wrapper class for CE command bars|
|Wrapper class for comboboxes|
|Frame Splitter class|
|Tab control wrapper|
|Dialog with scroll bars|
|Static control wrapper|
|A class for managing child window positioning within a common parent|
|Property sheet wrapper|
|Property page wrapper|
|Dialog wrapper class|
|Font chooser dialog wrapper|
|Group box class|
Modules, Control and Threads
HANDLE wrapper with
|Manual Reset |
|Auto Reset |
|A class for constructing a list of object that can be waited for in concert (|
|Thread wrapper class|
|wrapper for an application's instance|
|Socket wrapper classes|
|Socket Address (|
|FTP client class, a native implementation on the |
|Registry API wrapper|
|Simple Resource access|
|Version info extraction|
|Simple array class|
|Simple map (hashtable) class|
RECT wrapper class
POINT wrapper class
|CE native database support|
|Wraps the Ink control|
|Wraps the Rich Ink control|
|RAS API wrapper|
Oct 5 2000 - Updated with both functional and PocketPC support changes.