Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Mon, 01 Oct 2007 22:45:45 -0000,    group: microsoft.public.platformsdk.internet.server.isapi-dev        back       


Where is the ISAPI Extension Wizard   
I have a problem for which an ISAPI extension wizard may be an 
appropriate solution.  From what I've read of them, they look promising.  
But I've been unable to try them out, because I've been unable to build 
one.

Every website I've seen says, in essence:

1. Open Visual Studio
2. Select Project/New
3. Choose "ISAPI Extension Wizard"

I'm running Microsoft Visual Studio 2005, and if there is an "ISAPI 
Extension Wizard" in the New Project Templates, I can't find it.

Where should I be looking?

-- 
Ownership of the means of production is not a privilege, but a social
liability.  Capitalists and landowners are compelled to employ their
property for the best possible satisfaction of the consumers. If they are
slow and inept in the performance of their duties, they are penalized by
losses. If they do not learn the lesson and do not reform their conduct
of affairs, they lose their wealth.  No investment is safe forever.
		- Ludwig von Mises, "Human Action: A Treatise on 
Economics"
date: Mon, 01 Oct 2007 22:45:45 -0000   author:   Jeff Dege

Re: Where is the ISAPI Extension Wizard   
I believe the ISAPI Wizard was cut from Visual Studio 2005. And that's
a good thing.

One hardly needs the wizard and all the MFC ISAPI overhead to write an
ISAPI. It takes but eight lines of code (sans white space) to have a
basic functioning ISAPI Extension (it's not what I'd recommend as
production code; just the shortest lines of code). You will hardly
figure out what those lines are out of the 300 lines of boilerplate
code in multiple files from the ISAPI Extension Wizard.


#include <windows.h>
#include <httpext.h>

BOOL WINAPI GetExtensionVersion( HSE_VERSION_INFO *pVer )
{
    return TRUE;
}

DWORD WINAPI HttpExtensionProc( EXTENSION_CONTROL_BLOCK *pECB )
{
    DWORD cbBuf = 63;
    pECB->WriteClient( pECB->ConnID, "HTTP/1.1 200 OK\r\nContent-Type:
text/html\r\nContent-Length: 0\r\n\r\n", &cbBuf, NULL );
    return HSE_STATUS_SUCCESS;
}



//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//




On Oct 1, 3:45 pm, Jeff Dege  wrote:
> I have a problem for which an ISAPI extension wizard may be an
> appropriate solution.  From what I've read of them, they look promising.  
> But I've been unable to try them out, because I've been unable to build
> one.
>
> Every website I've seen says, in essence:
>
> 1. Open Visual Studio
> 2. Select Project/New
> 3. Choose "ISAPI Extension Wizard"
>
> I'm running Microsoft Visual Studio 2005, and if there is an "ISAPI
> Extension Wizard" in the New Project Templates, I can't find it.
>
> Where should I be looking?
>
> --
> Ownership of the means of production is not a privilege, but a social
> liability.  Capitalists and landowners are compelled to employ their
> property for the best possible satisfaction of the consumers. If they are
> slow and inept in the performance of their duties, they are penalized by
> losses. If they do not learn the lesson and do not reform their conduct
> of affairs, they lose their wealth.  No investment is safe forever.
>                 - Ludwig von Mises, "Human Action: A Treatise on
> Economics"
date: Tue, 02 Oct 2007 00:14:04 -0000   author:   David Wang

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us