Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need a SIMPLE ISAPI explanation/sample/tutorial

Status
Not open for further replies.

TheFoxy

Programmer
Nov 22, 2002
48
GB
Hello,

I am totally new to ISAPI and I need an example or some guidance as to how to write them in C++. I do not know what the difference between filters and extensions, so some clarification in that area would be handy too.

For example, how would I convert this CGI script source:

Code:
#include <iostream>

using namespace std;
int main() {
	cout << &quot;Content-type: text/html\n\n&quot;;
	cout << &quot;<html>\n&quot;;
	cout << &quot;<body>\n&quot;;
	cout << &quot;<h1>Testing!!!</h1>\n&quot;;
	cout << &quot;</body>\n&quot;;
	cout << &quot;</html>\n&quot;;
return 0;
}
Into an ISAPI program? Please keep it very simple, as I'm not very experienced in C++, having used VB for a long time.

Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top