[ROOT] Re: linking on Windows

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Apr 22 2002 - 10:10:55 MEST


Hi Brandon,

As requested in my previous mail, please try to reproduce this
problem with a piece of code that we can execute.
Also give the line(s) that you use to compile & link

Rene Brun

Brandon Kohn wrote:
> 
> 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:50 MET