Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP calling a VFP DLL
Message
From
01/06/1998 08:51:57
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00102375
Message ID:
00103566
Views:
22
>>>I am trying to write an Active Server Page that calls a VFP5 DLL. This DLL only returns a string and works in VFP3, VFP5 and VB5 with the CREATEOBJECT() command.
>>>
>>>However, I try to call this DLL from my ASP but only get error messages.
>>>
>>>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()
>>>
>>>Display the results to client.
>>>Document.write(y)
>>>Document.write(z)
>>>SCRIPT
>>>***
>>>
>>>I keep getting errors on the createobject().
>>>
>>>How can an Active Server Page call a DLL and return a result in a web page to the user? Also, I would like to have this script run only on the server, not the client.
>>>
>>>Thanks,
>>>
>>>Jerryt
>>
>
>Make sure that you have rights set up on this NT Machine to execute the DLL.
>Depending on it's location, it may not execute properly....
>
>ST


Can this DLL reside anywhere on the NT Server or does it have to reside in a certain location? This DLL is registered and it's properties and methods can be accessed from VFP3, 5 and VB on this PC.

Thanks,

Jerryt
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform