Click here to Skip to main content
12,999,608 members (111,123 online)
Click here to Skip to main content
Add your own
alternative version


17 bookmarked
Posted 6 Dec 1999

An ISAPI project to send a page with an image to the browser

, 6 Dec 1999
Rate this:
Please Sign up or sign in to vote.
This article describes an ISAPI project to send a page containing an image to the browser.
  • Download source files - 74 Kb
  • <!-- Article Starts -->

    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 dinamically 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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

    A list of licenses authors might use can be found here


    About the Author

    No Biography provided

    You may also be interested in...

    Comments and Discussions

    Questionhow can use it Pin
    jeims4-Jun-00 2:28
    sussjeims4-Jun-00 2:28 
    GeneralRun time image selection Pin
    John McTainsh23-Mar-00 12:50
    sussJohn McTainsh23-Mar-00 12:50 

    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.

    Permalink | Advertise | Privacy | Terms of Use | Mobile
    Web02 | 2.8.170624.1 | Last Updated 7 Dec 1999
    Article Copyright 1999 by Jorge Lodos
    Everything else Copyright © CodeProject, 1999-2017
    Layout: fixed | fluid