oledb32: Implement DataConvert DBTYPE_BOOL->VARIANT

Jacek Caban jacek at codeweavers.com
Wed Apr 24 05:00:45 CDT 2013


On 04/24/13 10:41, Alistair Leslie-Hughes wrote:
> +        case DBTYPE_BOOL:
> +            V_VT(v) = VT_BOOL;
> +            V_BOOL(v) = *(BOOL*)src;

You're mixing BOOL and VARIANT_BOOL here. This can't work, they even
have a different size. From your test I guess that you meant to cast src
to VARIANT_BOOL*.

Cheers,
Jacek



More information about the wine-devel mailing list