>How can i make a background foxpro program sleep until it receive signal from other pc ?
One option is to use an EXE that sits in an idle state with a timer running, and you can check a directory to see if a file was added, or possible, in a cursor, you can use a record to trigger a process.
A more modern way of doing this would be to use DCOM or a Web Service. The pros to this method include, a more standard, Object Oriented way of calling a program, passing paramters, and return a value. The downside to DCOM, is the setu configuration. Using Web Services is very simple, but it requires an HTTP server (IIS).
Let me know if you would like some more information on creating and using Web Services in VFP 7.0.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement