call statement

  • Thread starter Thread starter Lerp
  • Start date Start date
L

Lerp

Hi all :)

Please confirm, to call a sub procedure that is in a dll on same server from
my asp.net app I would have to declare the dll the sub procedure is residing
in, and then use the call statement to actaully call the sub?

Cheers, Lerp
 
It depends of the type of DLL is it a COM DLL or is it a .net assembly? If
it is a .NET assembly you will need to reference to the assembly in you
project and then create an instance of the object you would like to you use.
Then using the standard call.method call you can call that sub procedure.
if it is a COM dll you will need to create an interop assemble then follow
the same steps as you did with the .NET assembly

- -wiz
 
you can load a dll at runtime and call it. if a c dll, use pinvoke, if a
..net assembly, load the assembly and use reflection to call.

-- bruce (sqlwork.com)


| Hi all :)
|
| Please confirm, to call a sub procedure that is in a dll on same server
from
| my asp.net app I would have to declare the dll the sub procedure is
residing
| in, and then use the call statement to actaully call the sub?
|
| Cheers, Lerp
|
|
|
 

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

Back
Top