Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASP calling a VFP DLL
Message
 
À
27/05/1998 11:05:18
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:
00102671
Vues:
22
What's the error message returned to the browser?

>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
"It is an important and popular fact that things are not always what they seem. For instance, on the planet Earth, man had always assumed that he was more intelligent than dolphins because he had achieved so much -- the wheel, New York, wars and so on -- whilst all the dolphins had ever done was muck about in the water having a good time. But conversely, the dolphins had always believed that they were far more intelligent than man -- for precisely the same reasons." - Douglas Adams
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform