Use strtoulW instead of strtolW for DWORD conversion.