Solved

c++ dll and asp[active server pages]

Posted on 1998-06-04
3
197 Views
Last Modified: 2010-04-01
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
Comment
Question by:lobraco
3 Comments
 
LVL 1

Expert Comment

by:TAMC
ID: 1165240
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
 

Author Comment

by:lobraco
ID: 1165241
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
 
LVL 3

Accepted Solution

by:
altena earned 150 total points
ID: 1165242
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now