Hi,

suppose I have the following buffer:

Code:
BYTE b[4];

b[0] = 0x40;
b[1] = 0xe2;
b[2] = 0x01;
b[3] = 0x00;
This buffer represents the number "123456".

How do I convert this buffer into a ULONG ??