Zhenbo Li litimetal@gmail.com wrote:
- case VT_R8:
VarBstrFromR8(V_R8(p), 0, 0, &str);
break;
- case VT_R4:
VarBstrFromR4(V_R4(p), 0, 0, &str);
break;
- case VT_I4:
VarBstrFromI4(V_I4(p), 0, 0, &str);
break;
All these APIs can fail and return appropriate error code.