|
| Re: Error with designEditors.hpp |
 |
Sun, 6 Apr 2008 03:05:21 -0700 |
"Sean Farrow" <sean.farrow@seanfarrow.co.uk> wrote in message
news:47f88eb8$1@newsgroups.borland.com...
> When compiling a piece of code I get the following error:
> [C++ Error] DesignEditors.hpp(1026): E2015 Ambiguity between
> '_di_IDropTarget' and 'Designintf::_di_IDropTarget'
> Has anyone gotany idea where this error is eminating from?
Designintf.hpp declares a _di_IDropTarget typedef (for use with the
RegisterIDropTarget() function), but _di_IDropTarget is already declared
elewhere in your project, so DesignEditors.hpp does not know which one to
use.
Gambit
|
| Post Reply
|
| Error with designEditors.hpp |
 |
Sun, 6 Apr 2008 09:50:00 +0100 |
Hi:
When compiling a piece of code I get the following error:
[C++ Error] DesignEditors.hpp(1026): E2015 Ambiguity between
'_di_IDropTarget' and 'Designintf::_di_IDropTarget'
Has anyone gotany idea where this error is eminating from?
What is the fix for this error--probably quite simple!
I am using rad studio 2007 if that helps.
Cheers
Sean.
|
| Post Reply
|
| Re: Error with designEditors.hpp |
 |
Sun, 6 Apr 2008 11:27:02 +0100 |
Hi:
How do I get round this?
San.
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:47f8a06a$4@newsgroups.borland.com...
>
> "Sean Farrow" <sean.farrow@seanfarrow.co.uk> wrote in
message
> news:47f88eb8$1@newsgroups.borland.com...
>
>> When compiling a piece of code I get the following error:
>> [C++ Error] DesignEditors.hpp(1026): E2015 Ambiguity between
>> '_di_IDropTarget' and 'Designintf::_di_IDropTarget'
>> Has anyone gotany idea where this error is eminating from?
>
> Designintf.hpp declares a _di_IDropTarget typedef (for use with the
> RegisterIDropTarget() function), but _di_IDropTarget is already declared
> elewhere in your project, so DesignEditors.hpp does not know which one to
> use.
>
>
> Gambit
>
|
| Post Reply
|
| Re: Error with designEditors.hpp |
 |
Mon, 7 Apr 2008 11:50:48 -0700 |
"Sean Farrow" <sean.farrow@seanfarrow.co.uk> wrote in message
news:47f8a578@newsgroups.borland.com...
> How do I get round this?
I can't find any declaration of _di_IDropTarget anywhere in the VCL headers
other than in DesignIntf.hpp. So I am guessing that you have a third-party
component installed that declares _di_IDropTarget for its own use. You will
have to track that down. In the meantime, one thing you could try is edit
DesignEditors.hpp to change all references of '_di_IDropTarget' to
'Designintf::_di_IDropTarget' instead.
Gambit
|
| Post Reply
|
|
|
|
|
|
|
|
|
|