Re: set handle to NULL
Kevin Rosenberg <kevin-HJRc7zDS/[email protected]> Tue, 13 Aug 2002 22:57:27 -0600
| Newsgroups | gmane.lisp.uffi.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Aug 12, 2002 at 11:11:29PM -0400, John DeSoi wrote:
> isc_db_handle newdb = NULL; /* database handle */
> isc_tr_handle trans = NULL; /* transaction handle */
[...]
> if (isc_dsql_execute_immediate(status, &newdb, &trans, 0, create_db, 1,
> NULL))
I think you need to make a void-pointer object, then set the value of
that object to 0, then pass the address of the objet. This way,
isc_dsql_execute_immediate can store some value in the storage that
you allocated for the object.
--
Kevin Rosenberg | .''`. ** Debian GNU/Linux **
http://b9.com/debian.html | : :' : The universal
GPG signed and encrypted | `. `' Operating System
messages accepted. | `- http://www.debian.org/
signature.asc
(application/pgp-signature, 232 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9WeM3ES7N8sSjgj4RAsYbAJ9pkPKWcEzTXCqsVlOTgCzaT9SApgCfbIee K+HQfZ62YkdzZj6bfewYt5w= =gjXr -----END PGP SIGNATURE-----