Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bug - Ver 7.1a - NWAIT - WinHLLAPI

Status
Not open for further replies.

dabotter

Programmer
Oct 21, 2003
1
US
There is a bug in Extra Version 7.1a related to NWAIT and TWAIT. I am connecting to Extra from Visual Basic 6.0 using WinHLLAPI.

Using Extra!Basic, you can use WaitHostQuiet which is not effected by this bug. Is there a way to use WaitHostQuiet from VB?

I have added my own Wait loop - a DoEvents followed by a Do Loop of 300000. That's been long enought for my screen scrapes to work but I want something better.

I found another thread that mentioned OIA.Xstatus. Is that something I can use? How do I declare the OIA object?

Thank you.
-Dave
 
Actually the OIA object is working beautifully for me. It would look something like this.

Do While Sess0.Screen.OIA.Xstatus <> 0
Loop

I'm not sure how this would be different for version 7 of Extra!.

You don't have to declare the OIA object as it is an object of Extra!.

calculus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top