Re: [ROOT] open root file on win2k fails

From: Nick van Eijndhoven (Nick@phys.uu.nl)
Date: Fri Sep 13 2002 - 17:08:37 MEST


Hi Thomas,
I have seen this problem also many times.
It probably means that your compiled code is linked with libNew.lib.
Just suppress the linking of the libNew stuff (I always rename the
libNew.lib etc to libNew.lix etc...) and then probably everything
will work correctly.

                                                  Cheers,
                                                   Nick.

-- 
Dr. Nick van Eijndhoven mailto:nick@phys.uu.nl http://www.phys.uu.nl/~nick
--------------------------------------------------------------------------
Org.:    Utrecht University, Faculty of Physics and Astronomy
Address: Princetonplein 5, NL-3584 CC Utrecht, The Netherlands
Phone:   +31-30-2532331(direct) +31-30-2531492(secr.)  Fax: +31-30-2518689
CERN:    +41-22-7679751(direct) +41-22-7675857(secr.)  Fax: +41-22-7679480
Offices: Buys Ballot laboratory Room 710 (Utrecht)   B23 1-020 (CERN)
--------------------------------------------------------------------------


Thomas Nisius wrote:
> 
> Hi,
> 
> any suggestions why the following piece of code does not work?
> it works well, when interpreted, but i have to compile it since it is part of a bigger project.
> I use MSVC 6 on an  Intel machine running Windows2000 SP2.
> 
> #include "TFile.h"
> 
> int main(int argc, char **argv)
> {
> 
>   TFile f("sim200.root");
>   f.ls();
>   f.Close();
> 
>   return 0;
> }
> 
> this is the error message i receive:
> 
> <CustomReAlloc2>: passed oldsize 64, should be 458761
> Fatal in <CustomReAlloc2>: unreasonable size (458761)
> aborting
> Warning in <TWinNTSystem::StackTrace>: this method must be overridden!
> 
> Thomas
> ______________________________________________________________________________
> WEB.DE MyPage - Ohne Computerkenntnisse in nur 5 Minuten online! Alles
> inklusive! Kinderleicht!  http://www.das.ist.aber.ne.lustige.sache.ms/



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