Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DOEVENTS keep it in mind
Message
From
27/11/1997 17:45:01
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00062536
Message ID:
00062622
Views:
31
>MScomm32 also needs DOEVENTS at times when FoxPro code is running, and the control does not get enough events to process OnComm events. The trick sometimes is to place enough DOEVENTS to keep things going, but not so many as to slow everthing down. Also, since DOEVENTS includes all windows events, your code must be interruptable (timing related) at the point the DOEVENTS is placed.
>I wonder if other ocx's are affected ?

Yes, I also found that I had to put one DOEVENTS at the startup of the method and one before the Connect.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform