开发者

How to convert from BSTR to DATE

COleVariant var(bstrString);    
var.ChangeType(VT_DATE);    
DATE date = var.date;

not seems 开发者_开发技巧to be working. Any ideas will be appreciated. Thanks.


What is happening?

Maybe VarDateFromStr function works for you.

Best

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜