<br><br><div class="gmail_quote">2011/8/9 Michael Schnell <span dir="ltr"><<a href="mailto:mschnell@lumino.de">mschnell@lumino.de</a>></span><br><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">
Sorry for typing too fast (again :( ).<br>
<br></blockquote><div> </div><div>No, It's good. Thanks.</div><div> </div><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">
in fact I would try something like this:<br>
<br>
<br>
var<br>
GUI2Thread: TGUI2Thread;<br>
GUI2Application: TApplication<br>
<br>
procedure TGUI2Thread.Execute;<br>
begin<br>
GUI2Application:= TApplication.create;<br>
GUI2Application.Title:='<u></u>GUI2Test';<br>
GUI2Application.Initialize;<br>
GUI2Application.CreateForm(<u></u>TForm2, Form2);<br>
GUI2Application.Run;<br>
end;<div class="im"><br></div></blockquote><div> </div><div>I'll try it so.</div><div> </div><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">
<div class="im">
<br>
On 08/09/2011 01:14 PM, Juan Sánchez wrote:<br>
</div><div class="im"><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">
The window is created from the main application, but you can not close it. <br>
</blockquote></div>
How are you trying to close it ?<br>
<br>
If you close the Form Run should exit, but of course, before this the Form should be discarded from the screen and the memory.<br>
<br></blockquote><div> </div><div>When I call DLL funtion (DllMessage) from main program, new Window shows but it's imposible to close it with close button in title bar. It only closes where I close main window.</div>
<div> </div><div>Regards,</div><div>Juan.</div><div> </div><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">
Have fun,<div><div></div><div class="h5"><br>
-Michael<br>
<br>
--<br>
______________________________<u></u>_________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org" target="_blank">Lazarus@lists.lazarus.<u></u>freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.<u></u>freepascal.org/mailman/<u></u>listinfo/lazarus</a><br>
</div></div></blockquote></div><br>