On 13 Jul 97 at 12:45, Bulent Eren wrote: > But my problem continues: > > I only want to use the 2D plotting routines of ROOT. And for this > reason, using TPad, TCanvas and TGraph classes of it. I don't want > to use macro since it is slow and needs lots of memory (Beside this, > when I spawn root from my program with a macro, sometimes win95 > crashes?). I'll appreciate a lot you tell us what/when/where things are going wrong. It would be nice you send me your macro to re-produce the problem you faced. What did you mean speaking "needs lots of memory" ? > Instead, I want to link the necessary files into my > project and keep my program small and fast. It must be done with MS link.exe "by automatic". It links your program with the ROOT/system libraries your code does require. > I don't have enough time to explore your source files to find them. Just use our test subdirectory as a patern. Custome/hack it (for example start with hword.cxx). Tell us why this doesn't suit your needs. (To check things you may apply /MAP option of MS linker) > So I'm just asking the names of the file. I hope /MAP option will provide this list for you. > Anyway the RECOMMENDED (at least for the beginner) way is to create user's DLL and load it from within ROOT interactive/batch session via gSystem.Load("<name of the DLL file>") method or .L <name of the DLL file> CINT command With my regards, Valery ================================================================= Dr. Valery Fine Telex : 911621 dubna su ----------- LCTA/Joint Inst.for NuclearRes Phone : +7 09621 6 40 80 141980 Dubna, Moscow region Fax : +7 09621 6 51 45 Russia mailto:fine@main1.jinr.dubna.su Dr. Valeri Faine ------------ Phone: +41 22 767 6468 CERN FAX : +41 22 767 7910 CH-1211 Geneva, 23 mailto:fine@mail.cern.ch Switzerland http://nicewww.cern.ch/~fine
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:20 MET