Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP and DLLs

Status
Not open for further replies.

deepatpaul

Programmer
Jul 7, 2004
57
US
I have a project coming up that will (eventually) require my ASP (3.0) scripts to make calls to custom DLLs. For the time being we need to create the necessary "hooks" so in the future the DLLs can just read these hooks and get the necessary data with little stress.

My questions:
1. What source language can you create DLLs in?
2. What, if any, software package is needed to compile DLLs?
3. How would I be able to have ASP code be read into a DLL?
4. Can DLLs be created to call external database servers to store data?
 
1) dll's are usually created using visual basic
2) you'll need some flavor of visual basic to compile them
3)Usually you do something like set myvariable = server.createobject("dllname.classname") then refer to thisothervariable=myvariable.myfunctioninsidetheclass(myparameters)
4)yes, using much the same methods as vbscript.

This is quite a bit different from vbscript, so you'll need to do a bit of research before trying to write and compile your first dll.
 
You may already be familiar with using DLLs from ASP ... have you ever used ADO recordsets or the FileSystemObject?
 
I'm mildly familiar with using ADO and FSO. They both call DLLs?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top