Compartilhar via


Writing Code for Multiple Devices and Versions

4/19/2010

Many types device platforms are based on the Windows Embedded CE operating system. These range from Windows Mobile devices, to factory automation controllers. Using conditional compilation, or runtime platform and version checking, you can write code that targets a broad range of platforms, and it will still be able to take advantage of the particular capabilities and conventions of each platform. These techniques even allow you to share Windows Mobile code with desktop versions of your application.

In This Section

  • Conditional Compilation
    Describes how you can use conditional compilation to include or exclude certain portions of code, depending on which platform you are targeting at compile time.

See Also

Reference