> Thanx for the info Koen.
> Question 1: I'm unable to bind it in my code within the wt event loop I
> guess (or I'm missing something obvious). I want to post-call a method on a
> WObject with a parameter, and I only know the parameter in the external
> thread. That's why I wanted to do the bind there to a <void (void)> method
> and fill the param in. Then do the WApplication bind to make sure the
> WObject isn't deleted after the post. Am I missing something? [I worked
> around this, but I was hoping to use your code since it simplifies mine :-]

Good question.

wApp->bind() can't wrap functions with placeholders (_1, _2, ...). But
workarounds are possible, for example, pass a pointer to result.

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to