如何将BSTR转换为int? [英] How to convert a BSTR to int?
本文介绍了如何将BSTR转换为int?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好我有一个包含大值157286395904的BSTR,我希望有人可以帮我将其转换为适当的数据类型。
< pre lang =c ++> hr = pclsObj-> Get(L 容量, 0 ,& vtProp, 0 , 0 ) ; // Uint64
解决方案
看看这里: http://stackoverflow.com/questions/168017/convert -bstr-to-int [ ^
Hi i have a BSTR that contains a big value "157286395904" and i wish that someone could help me to convert it into the appropriate data type.
hr = pclsObj->Get(L"Capacity", 0, &vtProp, 0, 0);// Uint64
解决方案
Have a look here: http://stackoverflow.com/questions/168017/convert-bstr-to-int[^]
这篇关于如何将BSTR转换为int?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文