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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: EZCA win32 |
From: | "URIOT Didier DAPNIA" <[email protected]> |
To: | "Jeff Hill" <[email protected]> |
Cc: | <[email protected]> |
Date: | Fri, 24 Feb 2006 17:02:47 +0100 |
Thank, for you answer. In fact, I’m using the Easy CA library (compiled with BuilderC++ 6.0) linked with ca.dll, cas.dll, com.dll, msvcr71.dll, msvcp71, cygwin1.dll. All these DLL have been made with the 3.14.8 epics base compiled with VisualC++ Net. So, perhaps, something is not compatible. I don’t know. (But, compilation and linking look like good). Or the DLL have some problems. At present, the person which made them, have a look to check it.
Didier URIOT
De : Jeff Hill
[mailto:[email protected]]
> In the following example, ezcaGat(..) works, but when I leave the main() procedure, the code systematically crashes!!!
With this info it’s not easy to isolate between CA (which I maintain) and EZCA (for which I am not responsible).
To speed up fault isolation you might consider sending either: A) A stack trace (or traces for multiple threads) obtained from the Borland debugger. B) The source code for a simple program based only on the underlying CA interface, and not EZCA, that reproduces the problem.
Was the EPICS distribution also compiled by the Borland compiler?
Jeff
-----Original Message-----
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
|