1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 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 2005 2006 2007 2008 2009 2010 2011 2012 2013 <2014> 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Usage of the dbNameToAddr funciton |
From: | ZHANG Zhaohong <[email protected]> |
To: | <[email protected]> |
Date: | Thu, 16 Oct 2014 20:27:33 +0800 |
Hi, all The problem has been solved after I changed the dbAddr definition from “struct dbAddr *addr” into “struct daAddr addr”. I am wondering about another thing: if I use the pointer( addr.precord ) together with the dbScanLock and dbScanUnlock to access the fields of the record instead of using the dbGetField and dbPutField, will any negative results happen? If not, does this approach reasonable? Kind regards. ZHANG Zhaohong Beamline Control Group ZhangHeng Road 239, Pudong district, 201204 SSRF, Shanghai, China |