Listing 3 Illustrates byte-swapping problem

struct tagPOINT
{
       short x;
       short y;
};

class CPoint : tagPOINT {
       ...
       CPoint::CPoint(DWORD);
       ...
};

CPoint::CPoint(DWORD dwPoint);
{
   *(DWORD *)this = dwPoint;
}
// End of File