Hi:
Xu HuiJuan wrote:
connect_args.chid->puser=pCurrent; using undefined
type“oldChannelNotify”
The channel identifier (chid) follows the basics
of information hiding, you cannot directly access
any member elements.
Use the accessors ca_puser, ca_set_puser, ....
pCurrent=ca_puser(connect_args.chid); can't convert“void
*”to“Channel *”
pCurrent->chan=ca_puser(connect_args.chid); can't convert“void *”
to“chid”
I wonder how to solve it.
The ca_*puser accessors naturally deal with generic (void *),
so you might have to cast to/from (Channel *) or whatever custom type
you plan to park in the user pointer.
HTH,
-Kay
- Replies:
- Re: Writing to PVs Benjamin Franksen
- References:
- RE: Writing to PVs Liyu, Andrei
- Navigate by Date:
- Prev:
CA information on IOC? Bernd Schoeneburg
- Next:
Re: CA information on IOC? Ralph Lange
- 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
- Navigate by Thread:
- Prev:
RE: Writing to PVs Liyu, Andrei
- Next:
Re: Writing to PVs Benjamin Franksen
- 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
|