The patch does the cited above, cleans creation of CommonDialogs and removes unused/buggy code (LM_SETFILTER,LM_SETFILENAME).
What's the expected by LCL when user clicks Cancel at Save/Open Boxes: Set Filename to '' and clear Files or mantain previous values? The Patch does the former, being easy to change.
BTW: In my system, all progs with Open/Save dialogs (compiled with FPC , GCC,Delphi ... - includind MS ones) get a SIGSEG signal after first use of the cited dlgs. Does someone is getting the same? To see it, just load the exe with gdb.
Using WindowsXP Professional version 2002, no SR
karl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zip00037.zip
Type: application/octet-stream
Size: 3873 bytes
Desc: "dlg.zip"
Url : http://localhost/pipermail/lazarus/attachments/20030913/cfd8c8f8/zip00037.obj