Re: [PATCH] advapi32: attempt to use UuidToStringA if UuidToStringW isnot available.

2008-04-28 Thread Alexandre Julliard
"Dmitry Timoshkov" <[EMAIL PROTECTED]> writes: > "Lei Zhang" <[EMAIL PROTECTED]> wrote: > >> This adds more checks in CRYPT_CreateMachineGuid(), and attempt to use >> UuidToStringA if UuidToStringW is not available. > > Instead of duplicating and complicating the code, IMO it would be more > strai

Re: [PATCH] advapi32: attempt to use UuidToStringA if UuidToStringW isnot available.

2008-04-25 Thread Dmitry Timoshkov
"Lei Zhang" <[EMAIL PROTECTED]> wrote: > This adds more checks in CRYPT_CreateMachineGuid(), and attempt to use > UuidToStringA if UuidToStringW is not available. Instead of duplicating and complicating the code, IMO it would be more straightforward to use ansi APIs without trying unicode first.