• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 210
  • Last Modified:

c++ dll and asp[active server pages]

Can one include a regular dll in asp[active server pages]? Meaning not an ActiveX dll which I already know can be added. How would one go about doing this?
0
lobraco
Asked:
lobraco
1 Solution
 
TAMCCommented:
I know that you can put C++ ISAPI dll's on any page, may it be ASP or just plain HTML.  C++ ISAPI dlls work close to the same as ASP files normally, but when used to send lets say image data, it can be used to load the image.

<img src="http://domain.com/dllname.dll?Image#1>

Is a sample use of a C++ ISAPI dll that returns images rather than HTML code.
0
 
lobracoAuthor Commented:
Asp uses its own special objects to link in outside objects. The server object method is Creatobject("<insert object here>"). This is the only way include dll's in asp scripts. This is the procedure for including ActiveX DLL created in VB. My question is if and how can regular DLL's be included in asp scripts.
0
 
altenaCommented:
Very simple answer: You cannot.

You can create a simple ActixeX-dll (VB or ATL) that calls into your dll. That is perfectly legal.

An ISAPI-dll has nothing to do with asp-scripts.
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now