Visual Studio '97, Win2K, Extra! 6.3, Dell Latittude (et al).
I invoke the Screen.WaitHostQuiet function as so:
-->
try
{
VARIANT vSettleTime;
VariantInit(&vSettleTime);
vSettleTime.vt = VT_I2;
vSettleTime.iVal = nSettleTime;
m_pExtraScreen->WaitHostQuiet(vSettleTime);
}
catch(COleException* pEx)
{
pEx->Delete();
}
-->
My problem is, every once in a while this causes an RPC error, Dr. Watson makes a house call, and everything goes haywire.
Is there a better way to do this? What am I missing?
Thanks,
Zen (Dave)
I invoke the Screen.WaitHostQuiet function as so:
-->
try
{
VARIANT vSettleTime;
VariantInit(&vSettleTime);
vSettleTime.vt = VT_I2;
vSettleTime.iVal = nSettleTime;
m_pExtraScreen->WaitHostQuiet(vSettleTime);
}
catch(COleException* pEx)
{
pEx->Delete();
}
-->
My problem is, every once in a while this causes an RPC error, Dr. Watson makes a house call, and everything goes haywire.
Is there a better way to do this? What am I missing?
Thanks,
Zen (Dave)