P
Peeyush81
Hi All,
I am trying to invoke methods in c++ code in two ways, one by
compiling the calling code with the called code and running it
standalone, other by making a dll of the called code and then calling
it. First case works fine but in the 2nd case, I encounter a crash
at the following line
CThread* ct = &CThread::GetCurrentThread();
TEventHandler* eh = dynamic_cast< TEventHandler* >( ct );
Any hints why the crash occurs?
Thanks,
Peeyush
I am trying to invoke methods in c++ code in two ways, one by
compiling the calling code with the called code and running it
standalone, other by making a dll of the called code and then calling
it. First case works fine but in the 2nd case, I encounter a crash
at the following line
CThread* ct = &CThread::GetCurrentThread();
TEventHandler* eh = dynamic_cast< TEventHandler* >( ct );
Any hints why the crash occurs?
Thanks,
Peeyush