I wanted to extend the available ServerVariables that the mod_aspnet passes to the ASP.NET environment and got the following error when compiling the module:

mod_aspdotnet.cpp(396) : error C2872: 'request_rec' : ambiguous symbol
could be 'c:\Program Files\Apache\include\httpd.h(682) : request_rec'
or 'c:\OSS\httpd-cli\branches\mod_aspdotnet\v2.0.0\Debug\apache.web.tlh(24) : Apache_Web::request_rec'


i've changed

#import "Apache.Web.tlb"
using namespace Apache_Web;

in the file mod_aspdotnet.cpp into

#import "Apache.Web.tlb" \
        exclude("server_rec","apr_finfo_t", "request_rec")
using namespace Apache_Web;

to get rid of these 'ambiguous symbol' compile errors, I don't like this kind of patch work, is there anyone else that had these problems?

_________________________________________________________________
MSN Search, for accurate results! http://search.msn.nl



Reply via email to