Form's close buton does not work when form is in DLL
Original Reporter info from Mantis: vejrous
-
Reporter name:
Original Reporter info from Mantis: vejrous
- Reporter name:
Description:
I have form in DLL. Form shows OK and works but I am unable to close it in any way (not from Form close menu button or from a button on form with calling Close procedure).
There is an issue with creating a form with no owner. If you use the standard approach via the Create(Nil), it does a stack depletion dump. Basically the form, which should be able to operate without an owner can not. Delphi does this
perfectly.
Steps to reproduce:
Create exe and dll projects, code avaible here:
http://forum.lazarus.freepascal.org/index.php/topic,38113.0.html
Additional information:
I know about: http://wiki.freepascal.org/Form_in_DLL
but this is not helpfull, when DLL is going to be called from other languages them pascal.
Mantis conversion info:
- Mantis ID: 32578
- OS: Windows
- OS Build: 7
- Version: 1.6.4