Oops - VT_EMPTY->VT_RECORD is not allowed.
This commit is contained in:
parent
17ce98503b
commit
97fc6c3a06
|
@ -518,13 +518,6 @@ static HRESULT Coerce(VARIANTARG* pd, LCID lcid, USHORT wFlags, VARIANTARG* ps,
|
|||
break;
|
||||
|
||||
case VT_RECORD:
|
||||
switch (vtFrom)
|
||||
{
|
||||
case VT_EMPTY:
|
||||
V_UNION(pd,brecVal).pvRecord = NULL;
|
||||
V_UNION(pd,brecVal).pRecInfo = NULL;
|
||||
return S_OK;
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue