At 03:59 PM 11/3/2004, Yussef Alkhamrichi wrote:
>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?
Can't we exclude all "Apache::native", which should clear up this
bug all together? Better, is there something we can do in the import
processing of declaring Apache::native such that it is never exported
even in VisualStudio 2003?
This is the third and last bug I'd like to close before the next
release candidate.
Bill