Re: Compiling problems with ISQL
Posted in 2000
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Platform-Specific Issues, Versions, Editions & End-of-Life
From: Fabio Buzzi <buzzi@mail.pnpitalia.it> > >I have a problem with an IDS 7.31 on a SUN Solaris 7 platform. I have to >compile simple C program that contains simple getlogin() function called >by a very very simple form (very similar to the examples in the ISQL >Reference Guide ...!!). >I compile my C program with cperf and everything seems to be ok, I can >also run the form but when I press "Q" to make a query and then press >"ESC" to run the query, the system dumps a core and halt the session. >This happens everytime I press "ESCAPE" within a query or a update >operation in the form. >Is there anybody that can help me, please ? > >I-SQL version : 7.20.UD7 >IDS version : 7.31.UC2A-1 >ESQL/C version: 7.24.UC8 What I know about ESQL/C can easily be classed as dangerous, but shouldn't you be using a later version of ESQL/C, say 7.31 or later? ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Obnoxio The Clown wrote: > From: Fabio Buzzi <buzzi@mail.pnpitalia.it> > > > >I have a problem with an IDS 7.31 on a SUN Solaris 7 platform. I have to > >compile simple C program that contains simple getlogin() function called > >by a very very simple form (very similar to the examples in the ISQL > >Reference Guide ...!!). > >I compile my C program with cperf and everything seems to be ok, I can > >also run the form but when I press "Q" to make a query and then press > >"ESC" to run the query, the system dumps a core and halt the session. > >This happens everytime I press "ESCAPE" within a query or a update > >operation in the form. > >Is there anybody that can help me, please ? > > > >I-SQL version : 7.20.UD7 > >IDS version : 7.31.UC2A-1 > >ESQL/C version: 7.24.UC8 > > What I know about ESQL/C can easily be classed as dangerous, but shouldn't > you be using a later version of ESQL/C, say 7.31 or later? > No; the correct ESQL/C to use with ISQL 7.20 is indeed 7.24 ESQL/C. Without having the code at hand, it will be difficult to work out what's up. One of the nastier problems would be if your function is called to do something important because the regular Informix function has the same name. However, it is unlikely to be that, but it has been a problem, on occasion, in the past. -- Jonathan Leffler (jleffler@informix.com, jleffler@earthlink.net) Guardian of DBD::Informix v1.00.PC1 -- see http://www.perl.com/CPAN #include <disclaimer.h>