
19 Jan
2005
19 Jan
'05
2:40 a.m.
Hi, is there a easy way/workaround to use methods of managed classes with boost::bind? boost::signal<void (int value)> testSignal; public __gc class TestManagedClass { public: TestManagedClass() {testSignal.connect(boost:bind(???)); } void test(int i); }; how can I connect the TestManagedClass::test method of a instance of a TestManagedClass to the signal ? It seem already not be allowed to get the adress of the method &OpenGlTestGUI::testMethod (compile error c2843, vc++7.1). Are there any work arounds? Has anybody alread used boost::bind and boost::signal with managed classes? best regards, Vasco Lohrenscheit