--- parser3/src/targets/isapi/parser3isapi.C 2005/12/08 10:09:03 1.95.2.1 +++ parser3/src/targets/isapi/parser3isapi.C 2006/04/09 13:38:47 1.97 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_PARSER3ISAPI_C="$Date: 2005/12/08 10:09:03 $"; +static const char * const IDENT_PARSER3ISAPI_C="$Date: 2006/04/09 13:38:47 $"; #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 @@ -273,7 +274,7 @@ static bool parser_init() { // successful finish return true; - } catch(const Exception& e) { // global problem + } catch(.../*const Exception& e*/) { // global problem //const char* body=e.comment(); // unsuccessful finish @@ -389,7 +390,7 @@ void real_parser_handler(SAPI_Info& SAPI snprintf(config_filespec, MAX_STRING, "%s/%s", beside_binary_path, AUTO_FILE_NAME); - bool fail_on_config_read_problem=true;//entry_exists(config_filespec); + bool fail_on_config_read_problem=entry_exists(config_filespec); // process the request request.core(