Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Registering files
Message
From
23/02/2006 11:02:52
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Registering files
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01098528
Message ID:
01098528
Views:
61
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 ?
Next
Reply
Map
View

Click here to load this message in the networking platform