Re: root extension

From: Valery Fine (fine@bnl.gov)
Date: Thu Jun 11 1998 - 20:08:29 MEST


Dear Yassin Mohamed Osman 
On 11 Jun 98 at 12:40, you wrote:

> If I want to extend root with my own shared library how do I go
> about ? I have seen the tutorial where you simply say
> gSystem.Load("xxx.dll"). Then You use the class directly. But that
> is for a class derived from TObject. What about my own classes ?
> 

  This is right for ANY class.

  Page \\HEPBURN\Common\P32\Root\RootHtmlDoc\Using.html

  explaines how to get the EXTRA features of ROOT system.

  The only thing you should do is to create a so-called dictionary 
for your classes (which is a C++ code), compile your classes and that 
dictionary and put all of them together inside of that DLL. That's 
all. 

  See root\test\Makefile how to create the dictionary for Windows

  Hope this helps,
                               Valery
=================================================================
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                              



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:33 MET