EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  <19961997  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  <19961997  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: Visual Basic 4.0 and EZCA
From: "Mark S. Engbretson" <[email protected]>
To: "'[email protected]'" <[email protected]>
Cc: 'Claude Pradervand' <[email protected]>
Date: Sun, 31 Mar 1996 10:39:53 -0600
People attempting to use Visual Basic 4.0 with EZCA may have already discovered that there seems to be a problem in using VB with ezca.

Basically, the EZCA.DLL is built with cdecl calling conventions. VB4.0, however, can only deal with DLL's with stdcall calling conventions. Cdecl passes parameters right-to-left with cleanup by the caller.
Stdcall also passes parameters right-to-left, but leaves cleanup of the stack to the function. This tends to result in applications which sometimes seem to work (wonder how that happens . . . since it tends to
work more often on Win '95 and on my systems) but totally fails other times (on most NT systems).

Anyway, I have relinked the EZCA.DLL with stdcall for Visual Basic 4.0 users. It can be found in the BESSRC-CAT anonymous FTP area. You can reach it via the BESSRC-CAT WWW page, http://bessrc.msd.anl.gov,  or directly via  ftp://the-brain.bessrc.aps.anl.gov/pub/pc/Ca-Applications/ezca

There are also some very minimal test applications which show the format of the 'glue layer' VB uses to interface to the EZCA.DLL.

Me


Navigate by Date:
Prev: Event record and edb.def Bret Goodrich
Next: Re: CALC record question Marty Kraimer
Index: 1994  1995  <19961997  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: Event record and edb.def Bret Goodrich
Next: e2sr and the CALC record Andy Foster
Index: 1994  1995  <19961997  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