I'm attaching to an older version of our company's program, and the enter key macro is not normal. <Ctrl+M>, <Enter>, <KP Enter>, and <KeyPad Enter> are all failing. (<KP Enter> works in our current version).
Any ideas?
Just an update...
I have discovered that this is a memory leak in EXTRA itself. Even treating m_pExtraScreen->WaitHostQuiet() as an IDispatch and releasing it is not fixing the problem, as so:
VARIANT m_pVarSettleTime;
VariantInit(&m_pVarSettleTime);
COleDispatchDriver *pExtraTemp;
try
{...
You might also consider using the Scripting runtime (scrrun.dll) instead. You can use the FileSystemObject and TextStream objects to read/write lines and they don't have quotes...
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);
}...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.