[C++] MSB & LSB 計算
MSB << 16 + LSB
需要家此段先initial xcare
try
{
UInt32 ret = XCare_EAPI.EApiLibInitialize();
if ((ret != XCare_EAPI.EAPI_STATUS_SUCCESS) && (ret != XCare_EAPI.EAPI_STATUS_INITIALIZED))
{
MessageBox.Show("EAPI initialize failed!" + " ErrorCode=0x" + Convert.ToString(ret, 16));
return;
}
}
catch (Exception except)
{
MessageBox.Show("XCare_Monitor_Client error!\r\n" + except.ToString() + "\r\n\r\n" + except.StackTrace);
}
double 做加減乘除的被除數也需要是double
需要家此段先initial xcare
try
{
UInt32 ret = XCare_EAPI.EApiLibInitialize();
if ((ret != XCare_EAPI.EAPI_STATUS_SUCCESS) && (ret != XCare_EAPI.EAPI_STATUS_INITIALIZED))
{
MessageBox.Show("EAPI initialize failed!" + " ErrorCode=0x" + Convert.ToString(ret, 16));
return;
}
}
catch (Exception except)
{
MessageBox.Show("XCare_Monitor_Client error!\r\n" + except.ToString() + "\r\n\r\n" + except.StackTrace);
}
double 做加減乘除的被除數也需要是double
留言
張貼留言