Information générale
Catégorie:
Fonctions Windows API
So many questions. :)
Thanks for the info. Now I don't think I'll bother with it at this point, I'll just use wscript instead of csript and do things more GUI-ey (guess my command line bias got ahold of me).
I am going to do some file transfer, and thought that if I run it inside VFP then eventually I will run into a blocking issue. But if I run it from inside a WSH script, then I could let Windows handle the scheduling/tasking of it, and let VFP just look for a semaphore on the scripts progress with a timer. And if the script hangs, I can kill it without affecting my app (hey, what's the fastest/tightest API processkill code you know of?). Also, I wanted to keep the script in a table, so when I modify it (I expect it to change a lot more often than the rest of the app) I don't have to touch the executable.
Thanks again, you always make me think a little more on stuph like this.
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