Subject | Re: [ib-support] isc_dsql_prepare() |
---|---|
Author | Valdir Stiebe Junior |
Post date | 2002-09-05T12:45:47Z |
Hi dieterraith, before using the api directly, you could take a look at the
gpre. It saves a lot of time. I've done some linux c programs that use the
libgds.so (equivalent to gds.dll) and gpre help a lot. It generate
pre-processed code to pascal too.
gpre. It saves a lot of time. I've done some linux c programs that use the
libgds.so (equivalent to gds.dll) and gpre help a lot. It generate
pre-processed code to pascal too.
----- Original Message -----
From: "dieterraith" <raith@...-stuttgart.de>
To: <ib-support@yahoogroups.com>
Sent: Thursday, September 05, 2002 9:36 AM
Subject: [ib-support] isc_dsql_prepare()
> Recently I started using the interbase6 api in a Dephi consol program.
> I use the unit IBASE.PAS (equivalent to ibase.h). This in general
> works fine. The first api call I used was isc_expand_dbp and did not
> manage to
> get it work. Finally I tokk a look into the source an found that it
> could not work in the way it was described in the api manual. So I built
> the dpb in a local PASCAL routine. Until now I sucessfully use
> isc_start_transaction()
> isc_dsql_execute_immediate()
> isc_commit_transaction()
> isc_attach_database()
> isc_dsql_allocate_statement()
>
> using isc_dsql_prepare I get a
> Exception EAccessViolation in gds32.dll
> The address that could not be read is 0001
>
> I tried a lot without success. Then I tried to find the source code
> of that function in the source packet Firebird-1.0.0.796.src.tar.
> It is rather complicated for me. I can program in C but I am not
> experienced in all the macros, definitions and all the stuff that
> you have to know.
> Can someone help me find the function source code. I also would
> be interested to learn how I can debug my program to find out
> the problem.
>
> Thank you
>
> Dieter
>
>
>
> To unsubscribe from this group, send an email to:
> ib-support-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>