Michael Stefaniuc : The Data1 member of the GUID struct needs to be an unsigned int too for Win64 compatibility .