Exception on Windows when opening a popup before the application initializes
- Lazarus/FPC Version: Lazarus 2.2.0RC1 r65419 FPC 3.2.2 x86_64-win64-win32/win64
What happens
When opening a popup menu before the application is fully initialized then an exception is raised.
What did you expect
The popup to appear.
Steps to reproduce
- Create a new standard Windows application.
- In the project source, create a TPopupMenu before the application is initialized
- Popup the menu
A possible solution in attached diffPopupError.diff