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: December 11, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT Market pressures to move more quickly and develop innovative applications are forcing organizations to rethink how they develop and release applications. The combination of public clouds and physical back-end infrastructures are a means to get applications out faster. However, these hybrid solutions complicate DevOps adoption, with application delivery pipelines that span across complex hybrid cloud and non-cloud environments. Check out this …

  • CentreCorp is a fully integrated and diversified property management and real estate service company, specializing in the "shopping center" segment, and is one of the premier retail service providers in North America. Company executives travel a great deal, carrying a number of traveling laptops with critical current business data, and no easy way to back up to the network outside the office. Read this case study to learn how CentreCorp implemented a suite of business continuity services that included …

Most Popular Programming Stories

More for Developers

RSS Feeds