开发者

Null check on a COleVariant

开发者 https://www.devze.com 2023-01-08 23:18 出处:网络
Is 开发者_高级运维it possible to do a null check on a COleVariant or at the very least check if it\'s type is set to VT_NULL? I see that there is a ChangeType() method but was hoping I could somehow f

Is 开发者_高级运维it possible to do a null check on a COleVariant or at the very least check if it's type is set to VT_NULL? I see that there is a ChangeType() method but was hoping I could somehow figure out what the current type was before I attempt to change the type as changing from VT_NULL to VT_INT throws a type mismatch.


Check the vt member.

0

精彩评论

暂无评论...
验证码 换一张
取 消