You still provide lacks of the information to reproduce your problem. Since you are seaking about "linking" one needs to know how do your create your DLL / Lib's Valeri ----- Original Message ----- From: "Brandon Kohn" <blkohn@hotmail.com> To: "Rene Brun" <Rene.Brun@cern.ch> Cc: "Roottalk List" <roottalk@pcroot.cern.ch> Sent: Monday, April 22, 2002 3:39 AM Subject: [ROOT] Re: Re: > Sorry, misreported on this... it doesn't get an access violation in > file.IsOpen(), it just always returns false. So I'm unable to open TFiles > in the dll. > > Thanks > ----- Original Message ----- > From: "Rene Brun" <Rene.Brun@cern.ch> > To: "Brandon Kohn" <blkohn@hotmail.com> > Cc: "Roottalk List" <roottalk@pcroot.cern.ch> > Sent: Monday, April 22, 2002 9:13 AM > Subject: Re: > > > > Please give more details with an example if possible. > > > > Rene Brun > > > > Brandon Kohn wrote: > > > > > > Part 1.1 Type: Plain Text (text/plain) > > > Encoding: quoted-printable > > Hello rooters, > > > > Got a quick question. I have a library that makes use of a TFile. When I > use > > this library as a static link, everything is peachy. When I try use the > methods > > within when linking as a dll, the TFile doesn't open. I suspect that > gDirectory > > is NULL or something of this nature. Any clues on how I should rectify > this > > problem? > > > > Thanks as usual > > >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:51 MET