Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShellExec() and W2K3SP1 Security Update MS05-049 questio
Message
 
À
10/03/2006 13:48:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01102633
Message ID:
01103261
Vues:
17
This message has been marked as a message which has helped to the initial question of the thread.
>Our application works off of settings stored in foxpro tables, like most VFP frameworks do. When we designed this functionality five years ago, the solution we used was using a shortcut (.lnk) file because we can specify the Target and Start In (which can be pointing to a different server) properties which are very integral to our application in finding the settings when it boots up.

Ramil,

I am still not sure why you need the .lnk. Both "Target" and "Start In" can be specified as parameters of ShellExecute, right? Maybe I am missing something here, but isn't Target the fullpath of the executable (lpFile) an Start In is the default directory (lpDirectory)?
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform