EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  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  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: EZCA win32
From: "URIOT Didier DAPNIA" <[email protected]>
To: <[email protected]>
Date: Thu, 23 Feb 2006 17:41:39 +0100
I need to develop a little application making some epics channel access under WindowsNT. I’m using Borland C++ compilator.
So, I used easy ca library for win32.

I’m just used some ezcaGet(…) and ezcaPut(…) functions in a very small code.

I linked with ca.dll.

Compilation and linking worked.

 

But, the ezcaGet(…) function  make the code very unstable and I don’t understand why.

 

In the following example, ezcaGat(..) works, but when I leave the main() procedure, the code systematically crashes!!!

 

int main (int argc, char *argv[])

{

  double d;

ezcaGet(“epic_data1 ",ezcaDouble,1,&d);

return 0;

}

 

Someone already meet this problem?

 

Thanks in advance

 

 

 

 

 


Replies:
RE: EZCA win32 Jeff Hill

Navigate by Date:
Prev: RE: GPIB swap 1014D with 1014 Waggoner, Bill
Next: Looking for Application Example John Dobbins
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: It's ok now liushu
Next: RE: EZCA win32 Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  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 ·