Oh
Marcos Gambeta wrote:
>
> With this line, don“t work:
>
> oButton:Connect("clicked()", hb_threadStart( {|p|NewWindow()} ) )
> (the parameter is not a codeblock | may be a typo)
>
> But work with this:
>
> oButton:Connect("clicked()", {|p|hb_threadStart({||NewWindow()})} )
>
> I am planning more tests. I believe we can find a solution.
>
I put codeblock inside the function, pity on me.
Your code is right.
If it worked then for sure we can find a solution.
Make one more test. Call the ThreadID() in both windows
and see what these return, just in case...
Regards
Pritpal Bedi
--
View this message in context:
http://www.nabble.com/QT---Multi-threading---A-Limitation-tp23163007p23165158.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour