I'm using reinterpret_cast something like this:
void RunThread (void *myself)
{
(reinterpret_cast<MyClass*>(myself))->Method();
}
Inside Method, most of my member variables (all Handles) are null. Could this be because of reinterpret_cast since I know it does not guarantee me the same addresses? Like static_cast would. I know we should be using static_case in this instance, but this issue has got me interested now.