It seems to me I missed the start point of this thread.
I didn't see who said:
">From what I understand, CINT can use objects in DLL's."
And was the reason for this conclusion.
My guess speaking "object" you kept in mind M$ "The Component
Object Model" COM and your question probably means "whether ROOT/CINT
are "COM-enabled applications".
Strictly say, no it is not "COM-enabled application". From another
hand it is just a C++ code and one is free to call any thing from
there. The only requirement is to use a so-called Root/CINT
dictionary from his/her C++ header file (see The CINT Dictionary
Generator from "http://root.cern.ch/root/CintGenerator.html"). If one
can do this for his/her C++ header files he/she is Ok with ROOT.
Valery
On 5 Nov 98 at 8:22, Rene Brun wrote:
> Date: Thu, 05 Nov 1998 08:22:25 +0100
> Mark Bracey wrote:
> >
> > >From what I understand, CINT can use objects in DLL's.
> >
> > If this is true, does anyone have any examples of how CINT does this and
> > how/where in the source the mapping between the DLL and it's exposed
> > functions and the class description is performed?
> >
> > Thanks,
> > Mark
>
> You can find an example in $ROOTSYS/test/Event.
> This example shows how to create your own class (files Event.h,
> Event.cxx), make a DLL. To invoke the DLL from an interactive
> session:
> Root > gSystem->Load("libEvent");
> Root > Event myevent;
>
> To be able to call your classes interactively, you have to run
> your class header files through the preprocessor rootcint.
> rootcint generates the C++ code that makes the interactive interface
> to the compiled code.
>
> Rene Brun
>
=================================================================
Dr. Valeri Faine (Fine)
------------------- Phone: +1 516 344 7806
Brookhaven National Laboratory FAX : +1 516 344 4206
Bldg. 510A /STAR mailto:fine@bnl.gov
Upton, New York, 11973-5000 http://nicewww.cern.ch/~fine
USA
Dr. Valery Fine Telex : 911621 dubna su
-----------
LCTA/Joint Inst.for Nuclear Res. Phone : +7 09621 6 40 80
141980 Dubna, Moscow region Fax : +7 09621 6 51 45
Russia mailto:fine@main1.jinr.dubna.su