Current version of bmpParser NOT working on 63bit Linux. To make it working you need change declaration of DWORD to unsigned int.
Yeah, I never wrote that code with any 64-bit support. But thanks for the fix! Hopefully this will help someone out in the future as well.