Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shellexecute and Windows 8
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 8
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01598440
Message ID:
01598517
Vues:
74
In addition to the other problems with that code, as others have pointed out, RegSvr32 requires elevated permissions. See http://doughennig.blogspot.ca/2007/04/elevating-tasks-in-vista.html for information on elevating ShellExecute.

A bigger question is why are you trying to register a COM object from within the application? That's really a job for the installer.

Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform