Solved

c++ dll and asp[active server pages]

Posted on 1998-06-04
3
201 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

860 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