Click here to Skip to main content
15,745,232 members
Articles / Web Development / HTML
Posted 6 Dec 1999

Tagged as


21 bookmarked

An ISAPI Project to Show Database Information (including images)

Rate me:
Please Sign up or sign in to vote.
4.00/5 (1 vote)
6 Dec 1999CPOL
This article describes an ISAPI project to show database information.

To send a page containing an image to the browser, the image itself is somewhere under the root directory, you must hardcode its location into the program or change the provided source to load from registry.

The ISAM generates a page that contains an IMG tag with the SRC field pointing to the ISAM itself with a GetImage command (see the HTML source for the dynamically generated page).

The full source code for the ISAM is provided, you will have to compile it in order to get a working site. Before compiling, you will have to change some constants in the code: the module location and the image location. These constants are found in the isam.cpp file. Once you have compiled the project with correct site location and image location, you will need to take the following steps to install:

  • Create a directory under your http server root for the project.
  • Copy the isam.dll file and the image to this directory (the image location must be the same you specified in the isam.cpp file).
  • Create a virtual directory in your http server to access the DLL (remember to grant execute rights). The name of the directory must be the same you set in the project.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Written By
Cuba Cuba
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

General[Message Removed] Pin
immetoz4-Oct-08 2:04
immetoz4-Oct-08 2:04 
GeneralThis is a MSDN example Pin
Jonathan de Halleux1-Oct-02 20:30
Jonathan de Halleux1-Oct-02 20:30 
The code looks like the MSDN sample
PINBALL but the author doesn't say anything about that Dead | X|

I think the author should update his reference and give the real authors proper recognition, so baaad rating.

Jonathan de Halleux, Belgium.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.