Re: Intersolv Informix conflict
Posted in 1998
ed.ferrara@chase.com wrote: > > I have a 32-bit application which makes two connections to an Informix > database: One through an ESQL/C DLL using native Informix, and one through > Visual Basic 5.0 using an ODBC driver through ODBC Direct. > > The problem is that the ODBC connection clobbers the native Informix > connection -- both cannot be up simultaneously. > > The native Informix connect in the DLL is simple: $DATABASE dbname > > This only happens with Intersolv's Informix drivers. It does not happen with > Informix' own Informix ODBC drivers. Further. All of this worked fine in a > 16-bit environment. Use the ESQL CONNECT TO ... AS ... syntax to create a separate, named, connection for the DLL. Then in all of the DLL routines, execute SET CONNECTION TO ... to the named connection at the beginning of the function and SET CONNECTION TO DEFAULT at the end of the functions. Then let the brain dead ODBC driver use the DEFAULT connection for its own work. Art S. Kagel