--- parser3/src/targets/isapi/parser3isapi.C 2005/12/09 07:18:08 1.96 +++ parser3/src/targets/isapi/parser3isapi.C 2007/08/17 09:01:29 1.98 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_PARSER3ISAPI_C="$Date: 2005/12/09 07:18:08 $"; +static const char * const IDENT_PARSER3ISAPI_C="$Date: 2007/08/17 09:01:29 $"; #ifndef _MSC_VER # error compile ISAPI module with MSVC [no urge for now to make it autoconf-ed (PAF)] @@ -19,6 +19,7 @@ static const char * const IDENT_PARSER3I #include "pa_version.h" #include "pa_socks.h" +#define WINVER 0x0400 #include #include @@ -347,7 +348,7 @@ void real_parser_handler(SAPI_Info& SAPI strncpy(buf, filespec_to_process, len); buf[len]=0; request_info.document_root=buf; } else - throw Exception("parser.runtime", + throw Exception(PARSER_RUNTIME, 0, "ISAPI: no PATH_INFO defined (in reinventing DOCUMENT_ROOT)");