Re: EC function
Posted in 1995
In article <44bkla$2v1@news.cloud9.net> donaldf@cloud9.net (Donald Fitzsimmons) writes: >Subject: EC function >From: donaldf@cloud9.net (Donald Fitzsimmons) >Date: 27 Sep 1995 13:47:22 GMT >Hi, >Is it possible to write a function which can be accessed by 4gl /EC >functions alike since when u access from 4gl , u need to pop out >arguments which is not the case if called from EC/C function. >Can some one help please >Thanx Write the function for ESQL/C calling conventions, then put a wrapper round it to call with 4GL conventions i.e. provide a second routine calling the first but using pop and push communication to 4GL. The disadvantage is that the function then appears to have different names in 4GL and ESQL/C. Alternatively, use 4GL calling conventions even when calling from ESQL/C. You would call the ESQL/C function from C in the same way you would call a 4GL function. Ian