Re: [Lazarus] Small problem with a application that uses a Firebird database
Hi Mattias, Yes, 1 running thread for about 2 seconds, source = :, line = 0. So I have no idea what and where to look. mvg Frans van Leeuwen M 06-51695390 Op 12-2-2022 om 21:00 schreef Mattias Gaertner via lazarus: On Sat, 12 Feb 2022 14:38:55 +0100 nibbikfrans via lazarus wrote: [...] 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. Sounds as if some finalization takes 2 seconds. Maybe a running thread? [...] Mattias -- Deze e-mail is gecontroleerd op virussen door AVG. http://www.avg.com -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Small problem with a application that uses a Firebird database
On Sat, 12 Feb 2022 14:38:55 +0100 nibbikfrans via lazarus wrote: >[...] > 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. Sounds as if some finalization takes 2 seconds. Maybe a running thread? >[...] Mattias -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Small problem with a application that uses a Firebird database
Hi What is your question? What is confusing you? What error do you get when the database is connected to FlameRobin? What version of FB are you using? What access components do you use to connect to the database? nibbikfrans via lazarus 12 февраля 2022 г. 4:39:11 ПП написал: 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 -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
[Lazarus] Small problem with a application that uses a Firebird database
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 -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus