 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
static array? Guest
|
Posted: Thu May 17, 2007 10:18 pm Post subject: Help: Ambiguity between IBinding and Wsdlbind::IBinding |
|
|
BCB 6 patched.
I have a large ISAPI dll project which exposes a web-service. I have built
it hundreds of times and never had a problem in two years.
Now however, I have been working on a new release and must have somehow
changed one of the units it relies on and introduced an ambiguity I can't
find.
When compiling I get an error: "Ambiguity between IBinding and
Wsdlbind::IBinding".
The error points at an auto generated file:
<CBuilder6>\include\vcl\UrlMon.hpp, Line 34 which contains:
DECLARE_DINTERFACE_TYPE(IBinding);
I have tried to disambiguate it with:
DECLARE_DINTERFACE_TYPE(::IBinding);
but this doesnt work with error: "Undefined symbol 'IBinding'"
and I tried:
DECLARE_DINTERFACE_TYPE(Wsdlbind::IBinding);
but this doesnt work with error: "Wsdlbind is not a class or namespace name"
Besides, I really dont know which version it requires anyway so these are
guesses.
What should I do?
Thanks. |
|
| Back to top |
|
 |
Craig Farrell Guest
|
Posted: Fri May 18, 2007 4:46 am Post subject: Re: Help: Ambiguity between IBinding and Wsdlbind::IBinding |
|
|
Hi,
| Quote: | I have a large ISAPI dll project which exposes a web-service. I have built
it hundreds of times and never had a problem in two years.
Now however, I have been working on a new release and must have somehow
changed one of the units it relies on and introduced an ambiguity I can't
find.
|
Did you check the order of the #include's? e.g. copy
the block of #includes from the project that works and
try that block of includes, in that order, in place of
the includes in the project that fails to compile.
--Craig |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|