AnsweredAssumed Answered

VDK::GetThreadId returns wrong value

Question asked by AndreyZ on Oct 12, 2014
Latest reply on Oct 24, 2014 by CraigG

Hi guys.

 

bf531.

ide 5.0.1

 

pseudo code:

class A

{

     void foo();

     void foo2();

};

void A::foo2()

{

     VDK::GetThreadID() // returns wrong id. system hangs

}

void A::foo()

{

     VDK::GetThreadID() // works good

     foo2();

}

 

...

A a;

a.foo();

 

what should i do?

any suggestions?

how to track that bug?

is this is a stack corruption?

Outcomes