Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM dll
Message
De
06/12/2001 17:27:22
Sergio Ortiz
Tek Services Group, Llc
Hollywood, Floride, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
COM dll
Divers
Thread ID:
00590884
Message ID:
00590884
Vues:
61
Hello everyone,
I have the following problem:

I am following an example about asp and vfp.
It was an online demo given by Mike Helland at the Wiki-ASPandVFP.

Everytime I try to run the aspsample.asp page I get
the following error:

Access is denied to this object aspsample.asp, line 2

Here is the aspsample.asp code:

************************************************************
' create the object
Set oVFPObject = Server.CreateObject("aspsample.AspSample")

If IsObject(oVFPObject) Then

' Call VFP DLL -- let it do the rest of the work
x=oVFPObject.TestCom()
Response.Write(x)

'Release object variable
Set oVFPObject = Nothing
Else
Response.Write("Could not load COM Object")

End if
****************************************************************

Before running the page I copied the aspsample.asp and my aspsample.dll
to the c:\inetpub\wwwroot subdirectory.

I am totally lost here!
Do I have to register the COM dll before I issue
Set oVFPObject = Server.CreateObject("aspsample.AspSample")???.

any help is appreciated.

THanks,
Sergio Ortiz
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform