Re: esql/c programs (fwd)
Posted in 1996
mpeter wrote: > = > Forwarded message: > = > > > > > > I am trying to call a function in a 4gl module (informix 4gl, versi= on > > > 4.00) from a esql/c program (informix esql/c version 4.00). I don=B4= t know > > > how to do it. > > > = > Hi , > = > Check c4gl compiler options ... > = > -e will give u *.c, preproccessed *.4gl .... > = > U can compile *.c using c compiler and link it to ur esql pgm = Calling 4GL from C ??? You can compile the 4GL code to C, but it doesn't make sense. What you would have to do is see how 4GL preprocesses a function call to C then have your C program mimic it. Then you would still have to preprocess 4GL to esql/C then compile with your C code. All of the Informix documentation tells how to call C from 4GL not = the reverse. But hey I could be wrong. -Mikey