how to call dll in ASP?

K

kathy

I want to write a dll using VB6/VC6 and used by ASP.
Questions are:

1. what special requirements for the dll used by ASP?
2. after built dll, how to use it in ASP? Where I should
save the dll? Do I need to register the dll?

Any article/link related to my question? the sample code?

Thanks
 
M

Michael

Once you've created and registered your DLL it works like
any other object/component.

dim objMyDLL
set objMyDLL = server.createObject("projectName.className")
objMyDLL.method()
set objMyDLL.property = "abc"

Wrox has an excellent book on this exact topic.

Michael
 

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
474,085
Messages
2,570,597
Members
47,218
Latest member
GracieDebo

Latest Threads

Top