Call funtion of a dll from asp

G

Goldwind

Hi,

Can i call function from dll from an asp page (not COM)?

The problem is that i want the asp page to call function from dll which will
be in the same folder.
I could have created a com dll but it means that the web hosting company
must register it on their server and they wont.

Thanks in advance
 
B

Bob Barrows [MVP]

Goldwind said:
Hi,

Can i call function from dll from an asp page (not COM)?

The problem is that i want the asp page to call function from dll
which will be in the same folder.
I could have created a com dll but it means that the web hosting
company must register it on their server and they wont.

Thanks in advance

It can't be done.
 
B

Bob Barrows [MVP]

Permissions will likely prevent you from running an exe, although you can
try.
If you can't wrap it in a COM object, then your only other option is to
rewrite the dll's function in a vbscript function.
 
C

Chris Hohmann

Bob Barrows said:
Permissions will likely prevent you from running an exe, although you can
try.
If you can't wrap it in a COM object, then your only other option is to
rewrite the dll's function in a vbscript function.


--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

There's an often overlooked technology called Windows Scripting Components
(WSC) that may be an appropiate fit in this scenario. WSC's are honest to
goodness COM objects, written in plain text. And here's the stunning part.
They can be dynamically instantiated, i.e.. without the need to register the
component. Here's a related article:

http://4guysfromrolla.com/webtech/101800-1.2.shtml
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top