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

  • Best-in-Class organizations execute on a strategy that supports the multi-channel nature of customer requests. These leading organizations do not just open up their service infrastructures to accommodate new channels, but also empower their teams to deliver an effective and consistent experience regardless of the channel selected by the customer. This document will highlight the key business capabilities that support a Best-in-Class customer engagement strategy.

  • Live Event Date: September 16, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Are you starting an on-premise-to-cloud data migration project? Have you thought about how much space you might need for your online platform or how to handle data that might be related to users who no longer exist? If these questions or any other concerns have been plaguing you about your migration project, check out this eSeminar. Join our speakers Betsy Bilhorn, VP, Product Management at Scribe, Mike Virnig, PowerSucess Manager and Michele …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds