You can start from 'WCE Application' or 'WCE Pocket PC 2003 Application'. On the first page of the wizard, select 'A simple Windows CE application'. This generates a StdAfx.h for common includes and definitions, StdAfx.cpp (which causes precompiled headers to be generated for StdAfx.h) and project.cpp, which contains a WinMain routine. Pocket PC does not support the C standard main routine. The Windows CE C run-time library does not provide the mainCRTStartup routine that the desktop provides. You should use WinMain instead. Please be aware that Windows CE only supports a total of 32 concurrent processes - this is a consequence of the single-memory-map design. A number of those process slots are already running at startup time - the device driver host process device.exe, the Graphics Windowing and Events Subsystem gwes.exe, the file system process filesys.exe, and others. CE 4.x and later provide a Services host process for hosting services written as DLLs. Stability. What an interesting concept. -- Chris Maunder