Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASP calling a VFP DLL
Message
De
27/05/1998 13:21:29
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00102375
Message ID:
00102430
Vues:
18
>>
>Jerry
>Are you passing y to the dll or getting y from the dll?
>If you are trying to get mymethod to execute then it should be just ox.mymethod.
>
>Maybe I'm not following...
>
>Jeff


Jeff,

Thanks for your response. I could pass something to mymethod but I'm not in this example and I have tried it without the quotes.

Basically, my ASP blows up on the CREATEOBJECT("myproject.myclass").

However, from I try this from VFP3,5 and VB5 and it works fine. What could I be missing.

Also, from Visual Interdev, I try this and then view the page in Interdev's viewer and the values are returned alright. The page works inside of Interdev. It just doesn't work when I copy that same code into a ASP page and run it. And I have named my ASP file many different names.

I'm using IIS3 on NT4 Server with IE4.

Basically, shouldn't this work as is? I must be missing something.

Thanks,

Jerry

>>Here is what my ASP looks like. I left the brackets out.
>>***Test.asp.
>>SCRIPT LANGUAGE=vbscript runat=server
>>set ox = createobject("myproject.myclass")
>>y = ox.myproperty
>>z = ox.mymethod
>>SCRIPT
>>***
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform