



























比较:
赋值
VARIANT vaTemp:
vaTemp.vt = VT_BSTR;
vaTemp.bstrval = ::SysAllocString("Hello!");
int Value = wcscmp(vaTemp.bstrval , OLESTR("Hello!"));
如果value的值参照:
| Value | Relationship of string1 to string2 |
|---|---|
|
< 0 |
string1 less than string2 |
|
0 |
string1 identical to string2 |
|
> 0 |
string1 greater than string2 |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。