Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Too much for VFP ??
Message
 
To
26/03/2003 07:53:46
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00770162
Message ID:
00770189
Views:
11
>George,
>
>Wondered if I could get your opinion on something.
>
>Have purchased an active X control that allows VB, VC+, VFP to control a broadcast videotape machine. One of the key features is that it monitors a comm port every 10mS for timecode readings and machine status messages. No matter how I tweak it, my VFP6 runs this very sluggish. Is VFP's inherent overhead simply to much to allow this rapid port monitoring?
>Would VFP 7 or 8 be a dfferent story? The sample VB app they supply handles it fine.
>
Bruce,

It's really hard for me to offer anything but a guess. One thing that differentiates VFB from both VB and C++ is the way the controls are rendered. With VFP they're not windows, as they are in the other two languages. Another thing is the way VFP processes Windows messages. The main VFP window does all the message processing and passes the appropriate message onto the the appropriate form.

This has an up and a down side. On the up side, VFP forms will instantiate faster. On the down, the additional overhead in message processing can cause sluggish performance.

About all I can suggest would be to simplify as much as possible any graphic rendering by VFP.

Again, this is strictly a WAG on my part, but I hope that it does provide some help.

Regards,
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform