General information
Category:
COM/DCOM and OLE Automation
Title:
Problem with VFP DLL
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only