I am a new user of EPICS (3.14.1) on a win32(Win2K) platform. I have
several client applications developed within the MSVC(6.0) IDE framework
that communicate using a similar framework. I am in the early stages of
converting these applications to use EPICS Channel Access. I have also
folded the example IOC program into an MFC application and hope to
incorporate some of the configuration and diagnostic tools that we have. I
am able to initialize the IOC and access the data using channel access
clients.
As a learning exercise/proof of concept I want to duplicate part of the
iocsh call "dbl". I am using the code in \base\src\db\dbtest.c as an
example. I am having difficulty learning the scope and proper usage of
pdbbase. I intend to do something along the lines of:
DBENTRY *pdbentry;
pdbentry=dbAllocEntry(pdbbase);
dbFirstRecordType(dbentry);
dbGetRecordName(dbentry);
....
dbFreeEntry(pdbentry);
My test program compiles, links, and serves channel access clients but I
have not been able to resolve the scope of pdbbase to another file within
the project
using: extern DBBASE *pdbbase; results in the warning: "inconsistent dll
linkage. dllexport assumed" with unresolved external symbol _pdbbase errors.
How should I handle this scope and what is proper usage of pdbbase?
What is: "#define epicsExportSharedSymbols"?
Should I be using some sort of "#define epicsImportSharedSymbols"? Is there
such a thing?
Any snippets of code that I could use as an example?
Thank you for your time.
Randy Wells
15425, Missile and Flight Systems
Sandia National Labs
Ph: (505) 284-4849
Fax: (505) 844-1168
e-mail: [email protected]
- Navigate by Date:
- Prev:
IOC memory leak? Proper shutdown? Wells, Randall
- Next:
Re: CAMAC problems Steven Hartman
- 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:
IOC memory leak? Proper shutdown? Wells, Randall
- Next:
portable channel access server John Sinclair
- 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
|