Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE automation server blocking processing in client app
Message
 
 
À
19/06/1998 09:59:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00109884
Message ID:
00109941
Vues:
19
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform