[Lazarus] Small problem with a application that uses a Firebird database

nibbikfrans nibbikfrans at gmail.com
Sat Feb 12 14:38:55 CET 2022


Hi,

I'm using Lazarus 2.0.10 on Windows10. I'm working on an application 
that uses a Firebird database and it's going very well. In the 
development version I use a Debug screen.
But now I have a situation that I can't explain. When I start the 
application and I open the database it al goes well. Whether I make 
changes or not, the application closes immidiately when I hit the close 
button. The Debug screen is also closed immidiately.
When I can't open the database because it's in use by a different 
application (FlameRobin), I generate an error message. And now when I 
close the application the main form is destroyed immidiately but the 
Debug screen is still visible for about 2 seconds. The application is 
also visible that long in the taskmanager. The same happens when I have 
compiled a ready version without the Debug screen, the application stays 
visible in the taskmanager for about 2 seconds.
I've been searching for days to seek an explantion but I can't find it. 
I've made a very small testapplication with the intent of creating an 
item on the Lazarus Forum but that application doens't show this effect 
and is therefor useless. But I still can't figure out why.
I don't expect anything but if one of you can explain this or show me 
another search direction I would be gratefull.

-- 
mvg
Frans van Leeuwen
M 06-51695390


-- 
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com



More information about the lazarus mailing list