Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Slow trigger from Named Pipes
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00913257
Message ID:
00913258
Views:
24
Hi Nick,

What VFP version are you using? Are there DOEVENTS in your code? Can you post your code?

>I have been playing with MailSlots and Names Pipes but they seem to suffer from an unexpected delay of around 60-150ms when called from VFP.
>
>The Server is looping around a ReadFile() waiting for input, this loop takes 4ms so the ReadFile() is being called every 4ms and when there is data to read the SECONDS() are displayed. There is also a seperate (client) instance of Fox that writes to this file using WriteFile() and displays the SECONDS(). Unfortunately there is normally this unexpacted delay.
>
>This feels like a Fox induced problem in that during testing I sometimes got this delay down to zero by very frequently clicking the mouse.
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform