WORD 16-bit unsigned integer.

And what is that is normal human terms? I have looked at LIMITS.H and can't
see MAX_WORD listed...

Fire up cacluator, make sure it's on scientific, switch to binary, type 16 1s. Switch to decimal and you see that's 65535.


DWORD MAKELONG(
  WORD wLow,
  WORD wHigh
);

The MAKELONG macro creates a LONG value by concatenating the
specified values.

Yet it returns a DWORD value.... Maybe the two are the same...

A DWORD is an unsigned long. They are both 4 bytes, 32 bits.



_______________________________________________ msvc mailing list [email protected] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.

Reply via email to