Share via


Working with Data Alignment Issues (Windows CE 5.0)

Send Feedback

Alignment of data is an important issue when porting or writing code on some target architectures.

Depending on the architecture, unaligned operations with primitive data types can cause poor application performance, or can cause your application to fault and terminate abnormally.

This section provides information to help you avoid such pitfalls.

In This Section

About Data Alignment

Avoiding Alignment Errors

Working with Packing Structures

__unaligned Keyword

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.