Chapter 2. Files

File access is one of the most basic services provided by any operating system. Files in Windows CE are used in much the same way as files in other operating systems. They are generally used to store unstructured data such as text files. Windows CE also provides property databases (see Chapter 4) for storing structured data, and the registry for storing application-specific data such as settings or preferences. Files, databases, and the registry are stored, by default, in the Object Store (see Chapter 3).

This chapter discusses file access. It shows you how to open and close files, how to read and write from them, and how to gather information about files using the Windows CE API function. You can access files using either the ...

Get Windows® CE 3.0 Application Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.