Open/Save dialog (Win32/64) with option ofOldStyleDialog crashes
Original Reporter info from Mantis: JoshyFun @joshyfun
-
Reporter name: José Mejuto
Original Reporter info from Mantis: JoshyFun @joshyfun
- Reporter name: José Mejuto
Description:
Summary says everything
Steps to reproduce:
Add a TOpenDialog to a form and in Option set to true "ofOldStyleDialog".
Additional information:
Attached patch solves the problem. It simply extract information from NotifyEvent for known events, not for everyone as some of them may not carry the expected information.
Also var section in function moved to use them in inner function procedure and avoid passing parameters.
Tested under WinXP SP2 and Vista x64.
Mantis conversion info:
- Mantis ID: 14794
- OS: Windows
- OS Build: XP SP2
- Build: Lazarus 0.9.29 r21991 FPC 2.2.4
- Platform: i386
- Version: 0.9.29 (SVN)
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 22215 (#c19617c0)