Lazarus

Programming => General => Topic started by: michoux on July 13, 2020, 08:57:49 am

Title: file open dialog
Post by: michoux on July 13, 2020, 08:57:49 am
Hello,

I use file open dialog to get the namen of some file.
 I noticed that after i use the dialog, file gets locked even if I do free of open dialog.

Title: Re: file open dialog
Post by: Bart on July 13, 2020, 11:58:27 am
What OS, what WidgetSet?
I guess you mean the TOpenDialog from Lazarus?

Bart
Title: Re: file open dialog
Post by: michoux on July 13, 2020, 07:16:57 pm
Windows 10, yes I use topendialog from lazarus.
Title: Re: file open dialog
Post by: Bart on July 13, 2020, 10:30:44 pm
Please attach a sample project (sources only, zipped) and give step-by-step instructions how to reproduce the issue?
How do you know the file is locked?

IIRC something like process-explorer can tell you which process has locked it.

B.t.w.: I'm on Win10 and never experienced this behaviour.

Bart
TinyPortal © 2005-2018