Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with VFP DLL
Message
De
11/01/2001 09:46:43
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00461095
Message ID:
00462180
Vues:
14
I forgot to write that IIS is 5.0 (Windows 2000 Server).

All my files and VFP6xxx.dll are in “C:\WINNT\system32”. Do I need to
register VFP6R.DLL width RegSvr32?

>While the VFP COM server is registered, the run-time library needs to be registered or in the path for VFP to find it. Where are the run-time files?
>
>>I'm traying to write a VFP DLL for ASP.
>>
>>
>>DEFINE CLASS VFPUtils OLEPUBLIC AS CUSTOM
>> NAME = "VFPUTILS"
>> FUNCTION GetDateTime
>> RETURN DATETIME()
>> ENDFUNC
>>ENDDEFINE
>>
>>After compiling I have VFPUtils.DLL , VFPUtils.TLB and VFPUtils.VBR
>>
>>IIS is on another computer and I copy all files to target computer. Start RegSvr32 path\vfputils.dll, get response that the
>>DllRegisterServer in VFPUtils.dll succeeded.
>>
>>In ASP page I have: Set oVFP = Server.CreateObject("VFPUtils. VFPUtils")
>>
>>When I tray to load ASP page I have following response from IE:
>>
>> Server.CreateObject Failed
>> /obj.asp, line 11
>> Library not registered.
>>
>>The "line 11" in /obj.asp is Set oVFP = Server.CreateObject("VFPUtils. VFPUtils")
>>
>>What I'm doing wrong.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform