Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE automation server blocking processing in client app
Message
 
 
To
19/06/1998 09:59:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00109884
Message ID:
00109941
Views:
21
Paul,

Not with an OLE server method call, the client doesn't get control back till the server finishes the method.

You can use a EXE server that periodically polls a queue table that the client stuffs a request into, the server can work on it and then it's the responsibility of the client to poll to see if the server has finished the task so all you are effectively doing is moving the delay somewhere else.

>I am trying to develop an application that initiates processing in a OLE automation server (another VFP app). I believed that I could initiate the server process and return control directly to the client, leaving the server processing. However this does not seem to be the case.
>In a simple test (incrementing counter) running as an OLE server control is not returned to the client untill the server process is completed or interrupted. Am I missing something obvious or is it not possible to start a OLE server that processes asynchronously from the client?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform