Re: Multi-threaded GUI



On Thu, 2006-10-05 at 01:58 -0500, Paul Davis wrote:
> void* jump_start( void* myclass_this_ptr )
> {
>     MyClass* obj = dynamic_cast< MyClass* >( myclass_this_ptr ) ;

this should be: static_cast<MyClass*>, not dynamic_cast. dynamic_cast is
used to traverse inheritance trees, not convert from one pointer type to
another.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]