Re: C++ Builder BPLs loaded into Delphi



vavan wrote:

of course it can. I do it all the time. bcb object should implement
some interface known to delphi side and there you go. but I'm not sure
how you interpret "call C++ VCL inherited objects" in this context

In C++, define a class that is derived from a VCL class, put it in a
package and then try to use that class (i.e. instantiate it, call
methods, etc.) in a Delphi app. Won't work.

Interfaces will let you work with certain objects, but it still has
drawbacks. They will only work from a DLL or package, and it won't let
you constrcut the objects immediately.

I described this a long time ago already:

http://rvelthuis.de/articles/articles-cppobjs.html



--
Rudy Velthuis [TeamB]

"Throughout American history, the government has said we're in an
unprecedented crisis and that we must live without civil
liberties until the crisis is over. It's a hoax."
-- Yale Kamisar, 1990.
.



Relevant Pages

  • Re: Separate Compilation in Programming Languages
    ... within one package body. ... all, separate or otherwise. ... OK, so you like having textually separate spec and body, ... Clients of an interface do not depend ...
    (comp.lang.ada)
  • Re: Global variables
    ... I have a litte OT question: how do you initialize the Repository? ... first class triggered the Starter class. ... principle of object orientation is to design towards an interface, ... Starter class must not reside in the interface respository package. ...
    (comp.object)
  • Re: static or not?
    ... > Thus, for example, controller.Driver will register its Controller ... then I can strip away an interface from this ... and have it register that interface in the Registry. ... if this is done from class foo, what's foo's package? ...
    (comp.lang.java.help)
  • Re: Classes vs functions
    ... Interfaces were Java's "solution" to multiple inheritance. ... in a way that one class may implement one or more interface. ... PHP; nobody would be obligated to use or abuse it. ... > resource-consuming) to be able to include an entire package. ...
    (comp.lang.php)
  • Re: Borland kills another developer tool
    ... and that is that Borland have stopped innovating. ... the Delphi team are buulding great new things all the time but I can't ... If the public interface of a package ...
    (borland.public.delphi.non-technical)