Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP calling a VFP DLL
Message
 
To
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:
00102447
Views:
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
>>>***


Yes it should work. We do this all day long here. There are alot of things that
could and do go wrong, so if you can e-mail me the com and the asp and I'll take a look. Maybe you can't see the forest for the trees.

Jeff

It's Time to get a gun.

That's what I've been thinkin.

I think I can afford one, If I do a little less Drinkin.

www.TrueGeeks.com
Previous
Reply
Map
View

Click here to load this message in the networking platform