I had the same problem compiling it in VS 2003. I had to the same
thing to get rid of the error.

It has been a while but If I remember it right, I had a similar
problem with VS 2002 debug build and added the /OPT:REF flag to the
linker options for Apache.Web.dll and the problem went away. That did
not seem to work with VS 2003.

-sencer

On Wed, 03 Nov 2004 21:59:14 +0000, Yussef Alkhamrichi
<[EMAIL PROTECTED]> 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?
> 
> _________________________________________________________________
> MSN Search, for accurate results! http://search.msn.nl
> 
>

Reply via email to