Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unable to use WinExec
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00092940
Message ID:
00093051
Vues:
37
>Well, WinExec() is provided for backward compatibility, so I'd recommend trying to work some more with CreateProcess(). One of the major differences is that in Win 95 and Win NT (32 bit) is that all apps run in their own address space, and for this reason alone, I think you'll stand a better chance of getting this to work with CreateProcess().

CreateProcess does the same thing. In this case, GetLastError() returns 32. MSDN help says that "the process cannot access the file because it is being used by another process".

I really do appreciate you input! Thanks again!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform