Solved

c++ dll and asp[active server pages]

Posted on 1998-06-04
3
203 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
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…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
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.

728 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