[ROOT] Loading ROOT libraries on Windows

From: Pere Mato (Pere.Mato@cern.ch)
Date: Wed Jan 16 2002 - 13:43:00 MET


Hello,

  I am trying to load standard ROOT libraries within a C++ module using the
method TSystem::Load(). I seems that it works only if I put the full path
where the library is. If I use only the library name it generates an "access
violation" even if I have in the PATH the location where the libraries are.

  gSystem->Load("libHist")  // Access violation!
  gSystem->Load("S:/sw/ROOT/v3.01/nt4/root/bin/libHist.dll")  // Works!!

  Any explanation?

				Pere

------------------------------------------------------------
Pere Mato  CERN, EP Division, CH 1211 Geneva 23, Switzerland
           e-mail: Pere.Mato@cern.ch    tel: +41 22 76 78696
           fax:  +41 22 76 79425        gsm: +41 79 20 10855



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:38 MET