Quoting Low Chee Meng (KSL)...
}
} I would like to know if anybody has any experience/success writing
} embedded SQL statements inside a C++ program.
}
} We have an Informix database and a ESQL pre-processor meant
} for C. According to the local agent from Informix, the SQL
} pre-processor works only on C files, not C++ files.
} We intend to use GCC as our C++ compiler, but we do not know
} how to make the pre-processor work with GCC.
}
} Is there any way to work around the abovementioned problem?
}
To make the ESQL/C pre-processor work with gcc, do this:
1) vi $INFORMIXDIR/bin/esql
2) Change the "cc" near the bottom of the file to "gcc"
3) save your changes
As for the C++ thing, you're on your own.
DAS
--
David Snyder @ Snide Computer Services - Folcroft, PA Current Release
is db4glgen-3.7
UUCP: ..!uunet!das13!dave INTERNET: dave.snyder@snide.com