Re: ESQL/C and C++
Posted in 1996
Jason Jonas wrote: > > Maas Chops wrote: > > > > Forgive me if this has been answered here already. Can ESQL/C be used in > > C++ code? I searched the Informix manuals that I have, but found no > > mention of C++. I asked an Informix trainer, and she said she thought it > > could. I should think so too. Anyone know for sure? > > > > Thanks very much, > > Dirk > > shouldn't be a problem at all so i'm sure it is. :) > > actually, we've done a little work with wesql/c and visual c++. i'm not > quite sure of the group's status, but i haven't heard of any major > problems. sounds like some extern_c's are in order. Informix does not support embedded SQL in a C++ module. However, you can put the sql in a C source module and link that into your program.