64,676
社区成员
发帖
与我相关
我的任务
分享
VARIANT testvar;
testvar.vt = VT_R4;
for (testvar.fltVal = 0.00;testvar.fltVal <= 17.00; testvar.fltVal+=0.10)
{
m_Gls_ActiveX.SetAttrib(COleVariant("hehe"),testvar);
}
VARIANT testvar;
testvar.vt = VT_R4;
for (testvar.fltVal = 0;testvar.fltVal <= 170; testvar.fltVal+=1)
{
testvar.fltVal/=10;
m_Gls_ActiveX.SetAttrib(COleVariant("hehe"),testvar);
testvar.fltVal*=10;
}