An ISAPI project to show frames

This article describes an ISAPI project to send a page containing two frames to the browser.

The ISAM generates a page that contains a FRAMESET tag with the SRC fields pointing to the ISAM itself with GetFrame commands (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 a constant in the code: the module location. This constant is found in the isam.cpp file. Once you have compiled the project with correct site 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 to this directory
  • 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

Download Source Code


Last updated: 10 June 1998



Comments

  • ISAPI database

    Posted by Legacy on 02/12/2003 12:00am

    Originally posted by: anjali

    examples for isapi programming using database detail to store in database and retreiving data....

    Reply
  • Invoking an ISAPI extension programmatically

    Posted by Legacy on 04/17/2002 12:00am

    Originally posted by: Edwin

    I am having problem invoking my ISAPI extension programmatically.

    my code is something like this:

    static char formAction[] = "http://graphics:8081/tzTalk/tzTalk.dll";

    static char hdrs[]
    = "Content-Type: application/x-www-form-urlencoded"

    static Accept[] = "Accept: */*"

    hRequest = HttpOpenRequest( hConnect,
    "GET", formAction, NULL,
    NULL,
    accept,
    0,
    1 );

    HttpSendRequest( hRequest,
    hdrs,
    (DWORD)strlen(hdrs),
    NULL,
    0 );


    In the above code the HTTP Server running on IIS 5.0 returns :

    HTTP 404 - File not found

    BUT when I use a brower having these htm code below, It successfully invoke my ISAPI extension...

    <html>
    <title>eJobs</title>
    <h1>tzTalk ISAPI Extension</h1>
    <body>
    <hr>
    <b><i>"Hello how are you today?"</i></b><p>
    <p>
    <hr>
    <p>
    <FORM action="/tzTalk/tzTalk.dll" method="get">
    <P>
    Enter Input Data: <INPUT NAME="input_value" VALUE="" >
    <INPUT TYPE="SUBMIT" VALUE="Invoke"> <INPUT TYPE="RESET">
    </FORM>
    <hr>
    </body>
    </html>


    Can you help me on this? How can I invoke my ISAPI extension pogrammatically? Your help is very much appreciated.

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: October 29, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Are you interested in building a cognitive application using the power of IBM Watson? Need a platform that provides speed and ease for rapidly deploying this application? Join Chris Madison, Watson Solution Architect, as he walks through the process of building a Watson powered application on IBM Bluemix. Chris will talk about the new Watson Services just released on IBM bluemix, but more importantly he will do a step by step cognitive …

  • In support of their business continuity and disaster recovery plans, many midsized companies endeavor to avoid putting all their eggs in one basket. Understanding the critical role of last-mile connectivity and always available Internet access for their enterprises, savvy firms utilize redundant connections from multiple service providers. Despite the good intentions, their Internet connectivity risk may still be in a single basket. That is because internet service providers (ISPs) and competitive local …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds