Re: Duplicate definition on Interface declaration
- From: "Mike D Sutton" <EDais@xxxxxxxx>
- Date: Fri, 24 Mar 2006 21:24:36 -0000
In my application I have an interface class which is implemented in a halfhighlights
dozen other classes. Occasionally (and every time, at the moment) when I
start the application in the IDE, it does the JIT compile and then
one declaration in the Interface class (for a routine called Init), withthe
error "Duplicate definition". I've checked the declaration, and it ismy
correct, and it is consistent with the implementation in the other classes
that implement this interface, and there is no other Init routine in the
Interface class. The help file indicates that this is a problem with
duplicate compiler constants (#Const), but I do not have any of these in
application. Sometimes it will start without this error, and it alwaysand
builds without error. I've searched the Microsoft site, the MSDN site,
the Internet in general, and can't find any related information. Doesanyone
have any insights into this problem? Any help would be most appreciated.
And if there is a better discussion board to post this on, please let me
know.
Does one of your classes that implement the interface also expose a local
Init() method perhaps?
Are there any other variables / constants / objects / structures /
enumerators etc with the name "Init" in your project?
Do you have an "Init" conditional compile argument set (Project -> [Project
name] Properties -> Make -> Conditional compilation arguments)?
Mike
- Microsoft Visual Basic MVP -
E-Mail: EDais@xxxxxxxx
WWW: Http://EDais.mvps.org/
.
- Follow-Ups:
- Re: Duplicate definition on Interface declaration
- From: Marc Friedman
- Re: Duplicate definition on Interface declaration
- Prev by Date: Re: Moving info to a web page
- Next by Date: Re: Moving info to a web page
- Previous by thread: Re: Duplicate definition on Interface declaration
- Next by thread: Re: Duplicate definition on Interface declaration
- Index(es):
Relevant Pages
|