I am guessing the reason. Somewhere ROOT gets using CINT instead or the regular "compiled" call. As result the NT Path with "backslashes" was passed through C++ interpreter as a regular text line and all pairs like "path separator" + letter were replaced by CINT (and it is correct behavior ! ) to some letter or "binary code" for example c:\n\tg.ps '\n' will give us "end-of-line", ' \t' is replaced with the symbol "TAB" etc etc. Since call was done via CINT it is quite complicate to "calculate". its place. May be ROOT team can advice where I should look for . Valery ----- Original Message ----- From: Jonathan M. Gilligan <jonathan.gilligan@vanderbilt.edu> To: Root Talk <roottalk@hpsalo.cern.ch> Cc: Jonathan M. Gilligan <jonathan.gilligan@vanderbilt.edu> Sent: 24 января 2000 г. 23:56 Subject: Root 2.23/11 problems (NT 4.0) > I am having the following problems with root 2.23/11 (WinNT 4.0 SP5, > compiled with VC 6.0 SP3): > > If I specify a single argument on the command line ("root foo.C"), root > loads and executes foo.C just fine. But if I specify two arguments "root > foo.C bar.C", then root does not execute either file. If I type ".x foo.C" > and ".x bar.C" at the CINT prompt, then the macros execute correctly. Can > others duplicate this problem? > > If I am running root in directory E:\xxx\yyy\zzz and save a canvas as .eps > from the canvas window menu (File/Save As...) choosing "Encapsulated > Postscript (*.eps)" and giving it the name "m_pCanvas.eps", then the file > is saved as xxxyyyzzzm_pCanvas.eps. I think there must be a new bug in the > path-separator parser in the Windows NT version. Interestingly, if I save > as "m_pCanvas.root", there is no problem, so the bug seems to be specific > to the EPS SaveAs routine. Also, calling m_pCanvas->SaveAs("m_pCanvas.eps") > works properly. The only problem happens when I try to save from the Canvas > menu. > > Thanks for any help or advice, > Jonathan Gilligan > > > > =========================================================================== > Jonathan M. Gilligan <jonathan.gilligan@vanderbilt.edu> > Research Assistant Professor of Physics (615) 343-6252 > Dept. of Physics and Astronomy, Box 1807-B Fax: 343-7263 > Stevenson Center 6823 > Vanderbilt University, Nashville, TN 37235 Dep't Office: 322-2828 >
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:17 MET