Icon View Incident Report

Serious Serious
Reported By: Hedley Muscroft
Reported On: 8/13/2018
For: Version 2.28 Build 5
# 4677 .NET Data Provider Hangs During Application Shutdown

Since updating from 227b1 to 228b5, I noticed that my app was no longer closing down correctly - the process gets stuck and is still visible in Task Manager, even though the main form has been closed.

I tracked the problem down to EDB and have reproduced it in this simple demo app. To reproduce :-

[1] Simply run the program, then CLOSE it - notice that it closes normally; now...

[2a] Run the program, enter the connection settings to connect to a EDBSRVR server (running anywhere) and click CONNECT to establish the connection.
[2b] Now try to CLOSE the program and notice that the main window closes, but the process gets stuck in the Task Manager

Comments Comments
The .NET data provider is an assembly (.dll), and DLLs have special restrictions on what you can do from the main procedure, including certain things with threads. Delphi has an IsLibrary global variable that was being used to check for this, but the Delphi .NET compiler did not set this variable for assemblies.

Resolution Resolution
Fixed Problem on 8/13/2018 in version 2.28 build 6

Products Affected Products Affected
ElevateDB DAC Client-Server
ElevateDB DAC Client-Server with Source
ElevateDB DAC Standard
ElevateDB DAC Standard with Source
ElevateDB DAC Trial