Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Registering files
Message
De
23/02/2006 11:02:52
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Registering files
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01098528
Message ID:
01098528
Vues:
60
At the moment I'm using following API-code to register new dll's :

DECLARE INTEGER DllRegisterServer ;
IN (tcFileName) ;
AS __DllRegisterServer__
*-- This function returns 0 if successful
IF __DllRegisterServer__() = 0
llSuccess = .T.
ELSE
llSuccess = .F.
ENDIF

This works perfect if the user logged in in Windows has enough rights to install dll's. Sometimes the user does not have these rights and eventhough the registration succeeds (llSuccess = .T.) the dll's isn't registered.

Is there a way to register new dll's no matter what the user rights are ?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform