Use 'unsigned char' rather than 'char' for pchMessageStart.
Attach a file by drag & drop or click to upload