Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How does Calvin's code work?
Message
 
To
25/02/2004 18:28:29
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00880866
Message ID:
00882225
Views:
79
>I was also wondering how this callback technique would work for "asynchronous" processing. If I have this scenario:
>
>- a Main (client) program instantiates 2 COM servers. Server A does some scanning of files on local drive C:, Server B does some scanning of files on network drive F:. Each may take several minutes to process but are likely to cause low CPU utilization.
>
>- in the meantime, the main program may be doing some CPU-intensive activity.
>
>What happens when Servers A and B "call back" that they've finished their tasks, but the main program is running something else (worst-case scenario, say a large SELECT - SQL)? Do the callbacks fail? Does COM somehow queue the callbacks to be processed the next time the client is available to do so? TIA.

Check out File #9838. We have used this for "asynchronous" processing. It includes a callback for both errors and completion.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform