realbasic-plugins
[Top] [All Lists]

Re: Special handling for Interfaces?

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Special handling for Interfaces?
From: Mars Saxman <mars at realsoftware dot com>
Date: Sun, 13 Mar 2005 17:14:38 -0800
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
support at monkeybreadsoftware dot de wrote:

> Hi,
> 
> 5 plugin segments define the same interface

Not according to the compiler! It sees five different plugins defining five
different interfaces, that happen to use the same name. This is a recipe for
confusion, and I'm surprised you ever got it to work.

> So is there something special?

Don't do that. RB 2005 should be giving you an error when it tries to
compile a project with such a set of plugins installed, anyway.

> If I compile with RB 4.5 it works, but if I compile with RB 5.5.4, I see
> that two plugin segments are included.

4.5 does not perform inter-plugin dependency analysis; 5.x does. The
compiler probably tries to make sense of this strange situation by ignoring
all but one of the interface definitions; any other plugin that refers to
that interface then pulls in the first interface as a dependency.

> So should be a shared Interface in it's own plugin segment?

Yes.

Mars Saxman
REAL Software
-- 
REAL World 2005 - The REALbasic User Conference
March 23rd - 25th, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>