Re: Calling C Functions in NewError
Posted in 1996
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
That works fine if all you are compiling is to C executable but what about compiling to p-code. My guess is that Basheer wants both but I may be mistaken. There should be a section in one of the NewEra books that details exactly how to accomplish this. If you have done this using 4GL the method is basically the same. I don't have a book handy so I can't give you the page number but I know it is there. mathewd@cse.co.nz (Mathew Dredge) wrote: >In article <506obt$edn@herald.concentric.net>, > Basheer Ahmed <basheer@pop3.cris.com> wrote: >> >> Newera and C C++ >> How to call a C function from Newera. I did receive few responses from informix >> group BUT none of them work. I have spent 1 week so far to do this. >> I really appreciate if anybody has written(tested,tried,worked) new era programs >> calling c functions. >The best way I have found is by using the BEGIN_C and END_C tags.. >Ie.. >BEGIN_C > printf("Blah Blah\\r\\n") >END_C >----------------------------------------------------------------------- >This article was posted to Usenet via the Posting Service at Deja News: > http://www.dejanews.com/ [Search, Post, and Read Usenet News!]