Error when close de application

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for InterBase & Firebird in Delphi and C++Builder
Post Reply
jnovelo
Posts: 9
Joined: Thu 26 Jan 2017 23:08

Error when close de application

Post by jnovelo » Fri 18 Oct 2019 00:49

Nombre de la aplicación con errores: IDEAdminR.exe, versión: 1.0.0.0, marca de tiempo: 0x00000000
Nombre del módulo con errores: dbexpida40.dll, versión: 5.0.1.0, marca de tiempo: 0x5d51cd71
Código de excepción: 0xc0000005
Desplazamiento de errores: 0x0009b54a
Identificador del proceso con errores: 0x3684
Hora de inicio de la aplicación con errores: 0x01d5854d45bf9b8f
Ruta de acceso de la aplicación con errores: D:\SISTEMA\Programa\IDEAdminR.exe
Ruta de acceso del módulo con errores: D:\SISTEMA\Programa\dbexpida40.dll
Identificador del informe: 27ab216b-b507-45c9-a204-dc6496ed6ec4
Nombre completo del paquete con errores:
Identificador de aplicación relativa del paquete con errores:

Error:
:1754a352 dbexpida40.DBXBase_Close + 0xa

dbexpida40.DBXBase_Close:
1754A348 55 push ebp
1754A349 8BEC mov ebp,esp
1754A34B 53 push ebx
1754A34C 56 push esi
1754A34D 8B5D08 mov ebx,[ebp+$08]
1754A350 33F6 xor esi,esi
1754A352 0FB64304 movzx eax,[ebx+$04]
1754A356 3C01 cmp al,$01
1754A358 7508 jnz $1754a362
1754A35A 53 push ebx
1754A35B 8B03 mov eax,[ebx]
1754A35D FF5028 call dword ptr [eax+$28]
1754A360 EB1C jmp $1754a37e
1754A362 3C03 cmp al,$03
1754A364 7509 jnz $1754a36f
1754A366 8BC3 mov eax,ebx

ViktorV
Devart Team
Posts: 2803
Joined: Wed 30 Jul 2014 07:16

Re: Error when close de application

Post by ViktorV » Fri 18 Oct 2019 13:17

To solve the defined task, try setting the ForceUnloadClientLibrary option to True. For example:

Code: Select all

SQLConnection.Params.Values['ForceUnloadClientLibrary'] := 'True';
Note, please, write in English, it helps us to understand your issue better and help you faster.

jnovelo
Posts: 9
Joined: Thu 26 Jan 2017 23:08

Re: Error when close de application

Post by jnovelo » Fri 18 Oct 2019 16:50

The solution: SQLConnection.Params.Values['ForceUnloadClientLibrary'] := 'True'; ,did not work, I get the same error.
i´m using c++builder RAD Studio RIO 10.3.2
Thanks for the quick reply

PauleSmith
Posts: 1
Joined: Sun 10 Nov 2019 14:27
Location: https://deployplace.com/
Contact:

Re: Error when close de application

Post by PauleSmith » Sun 10 Nov 2019 14:41

Found a solution? surprisingly the same problem

ViktorV
Devart Team
Posts: 2803
Joined: Wed 30 Jul 2014 07:16

Re: Error when close de application

Post by ViktorV » Mon 11 Nov 2019 10:59

To solve the issue, please try to install the latest version of dbExpress driver for InterBase and Firebird 5.0.1.
After that, set the AutoUnloadDriver parameter to True in the dbxdrivers.ini configuration file for the DevartInterBase driver. For example:

Code: Select all

[DevartInterBase]
...
AutoUnloadDriver=True
By default, the file dbxdrivers.ini for Delphi 10.3 is located in the directory "c:\Users\Public\Documents\Embarcadero\Studio\dbExpress\20.0\"

Post Reply