PgODBC + Borland C++ Builder problems

Поиск
Список
Период
Сортировка
От Geoffrey C. Speicher
Тема PgODBC + Borland C++ Builder problems
Дата
Msg-id Pine.BSF.4.05.9905161642570.50311-100000@sirius.speicher.org
обсуждение исходный текст
Ответы Re: [INTERFACES] PgODBC + Borland C++ Builder problems  ("Geoffrey C. Speicher" <geoff@sirius.trassociates.com>)
Список pgsql-interfaces
I have been using BC++ Builder for a few weeks now to build an interface
to a PostgreSQL database via the pgODBC Win32 driver, and there seems to
be some incompatibility between the two.

Particularly, BCB and programs created with it will frequently result in
an access violation in KERNEL32.DLL.  The BCB user community does not
report such behavior with other ODBC drivers, but there was mention of
something similar with an older "buggy" driver for MS-SQL or something
along those lines.

Example:
 1. Open data source + table in BCB-built program 2. Open dialog containing a form and data controls for the data
source3. Immediately jump to last record in table 4. Witness program crash (access violation in kernel32.dll)    [This
happensafter a pause of a few seconds, during which the     program displays the "waiting for SQL" mouse pointer.]
 

However, if between steps 2 and 3 you browse though the records in the
table, then jumping to the end does not crash the program.  Further, there
are some tables for which the crash never happens, but I cannot find any
pattern for determining whether or not a particular table will cause it.

The problem also affects actions such as filling a combo box with the
contents of a table.  Again, for some tables, the combo box will fill just
fine, and for others it will crash.

Any ideas?

Geoff



В списке pgsql-interfaces по дате отправления:

Предыдущее
От: selkovjr@mcs.anl.gov
Дата:
Сообщение: Re: [INTERFACES] Paths in DBD::Pg
Следующее
От: Peter Harvey
Дата:
Сообщение: Re: [INTERFACES] ODBC