Re: ESQL/C and C++
Posted in 1996
Richard Hennessy — — source: Informix-list mailing list archive (1991-1998)
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 I have done this using on Windows and UNIX. There were only two things to look out for. Windows Only: 1. In the the sqlca.h file at line 72. struct sqlca_s sqlca; must be replaced by extern struct sqlca_s sqlca; General: 2. Any comments in the program had to be C style comments (/**/) and not C++ ones (//). Richard Hennessy Becker Software, Wiesbaden