Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP calling a VFP DLL
Message
From
27/05/1998 13:21:29
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00102375
Message ID:
00102430
Views:
17
>>
>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
>>***
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform