Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Hi Snorris.
Sample core is a here.
Execute esqldemo7
OR
$INFORMIXDIR/demo/esqlc/sqgetdbs.ec
HTH.
--
Tsutomu Ogiwara from Tokyo Japan.
ICQ#:168106592
>From: scott0@snet.net (snorris)
>Reply-To: scott0@snet.net (snorris)
>To: informix-list@iiug.org
>Subject: Using sqgetdbs core dumps program
>Date: 12 Mar 2004 17:21:32 -0800
>
>I'm attempting to use sqgetdbs() in an ESQL/C program to allow users
>to select a database and then connect to the selected database. The
>database name list is returned successfully by sqgetdbs(). However, I
>can't seem to figure out how to execute a "connect" to the selected
>database. All methods that I've tried result in the program core
>dumping. The core dump appears to be in one of the Informix
>libraries, making it difficult to determine why the program core
>dumped.
>
>Does anyone have some example code that uses sqgetdbs() and then
>connects to one of the databases listed in the returned database name
>list?
>
>My environment is: Unixware7.1.X, ESQL/C 7.25 and SE 7.25
>
>Thanks,
>Scott
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
sending to informix-list
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.