EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: EPICS base compiling using Visual C++ 2005 Express
From: "Jeff Hill" <[email protected]>
To: "'Vladimir Sirotenko'" <[email protected]>, "'guobao shen'" <[email protected]>, <[email protected]>
Date: Tue, 22 Nov 2005 16:05:30 -0700
I looked into this "w+bTD" verses "W+B".

The purpose of this code is to open an identical type of temporary file on
all OS. This particular problem is, of course, in Microsoft specific code
working with previous versions, but not with Visual C++ 2005.

The very latest documentation at MS with a 2005 time stamp on it lists "T"
and "D" as valid Microsoft specific options to _fdopen. This therefore
smells like a bug at MS. Nevertheless, the proposed change appears to work -
not creating any permanent files on the disk. This is probably because
roughly equivalent options are specified to the preceding open().

We have committed the suggested change - ETA R3.14.8.

Jeff

> -----Original Message-----
> From: Vladimir Sirotenko [mailto:[email protected]]
> Sent: Tuesday, November 22, 2005 9:34 AM
> To: guobao shen; [email protected]
> Subject: Re: EPICS base compiling using Visual C++ 2005 Express
> 
> Try to do the following, it worked for us:
> 
> Antelope failed to run correctly because it could not create a temporary
> file.
> Modify src\libCom\osi\WIN32\epicsTempFile.cpp and remove the TD from the
> fdopen specification.
> 
>         pNewFile = _fdopen ( fd, "w+b" ); instead of pNewFile = _fdopen (
> fd, "w+bTD" );
> 
> Vladimir
> 
> ----- Original Message -----
> From: "guobao shen" <[email protected]>
> To: <[email protected]>
> Sent: Tuesday, November 22, 2005 8:19 AM
> Subject: EPICS base compiling using Visual C++ 2005 Express
> 
> 
> > Dear all,
> >
> > I am trying to compile the EPICS 3.14.7 on Windows XP SP2 using
> > MS Visual C++ 2005 express version for evaluation. I met some problem
> > when the antelope.exe was executed. It reported the following erros and
> > exited.
> >
> >     "antelope.exe has encountered a problem and needs to close. We are
> > sorry
> >     for the inconvenience."
> >     "Please tell Microsoft about this problem".
> >
> > Is there any one succeeded in compiling EPICS base using that compiler?
> >
> > Thanks,
> >
> > Guobao Shen
> >
> > J-PARC Control Group
> >
> >
> >



Replies:
RE: EPICS base compiling using Visual C++ 2005 Express guobao shen
References:
Re: EPICS base compiling using Visual C++ 2005 Express Vladimir Sirotenko

Navigate by Date:
Prev: Re: EPICS base compiling using Visual C++ 2005 Express Vladimir Sirotenko
Next: EDM on Windows + Hummingbird? Michael E Urashka
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS base compiling using Visual C++ 2005 Express Vladimir Sirotenko
Next: RE: EPICS base compiling using Visual C++ 2005 Express guobao shen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·