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
精彩评论