Boost logo

Boost :

Subject: Re: [boost] [uuid] proposed fix for windows_generator.hpp
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2009-07-22 18:37:53


2009/7/22 Christian Leutloff <christian.leutloff_at_[hidden]>:
>
> I have attached a test case that is showing the difference of the choosen implementationen and the expected one. The expected one was validated using the VS debugger, too.
>

To save others checking the provided code: Microsoft's GUID class
(which it also calls a UUID) stores the internal values as uint32_t,
uint16_t, uint16_t, uint8_t[8] in native -- little-endian -- byte
order, so the first 3 members need byte order reversing to match the
in-memory format specified by the RFC.

http://msdn.microsoft.com/en-us/library/aa379358%28VS.85%29.aspx


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk