Thanks Martin,
it's a "0xC0000005" error.
The last call is from oapiWriteLog, but i'm not using this method in my plugin.
I can't reproduce this it's only "sometimes"
I have no Idea.
So do you think I should check all my "oapi" - calls if their parameters are corect right?
Only the "oapi" - calls or also other api calls (like Vesesl-> blablabla)?
---------- Post added 12-01-17 at 00:27 ---------- Previous post was 11-01-17 at 21:45 ----------
Maybe I've got the mistake...
I had send a "NAN" value to the "SetThrusterGroupLevel" method.
Code:
vessel->SetThrusterGroupLevel(THGROUP_ATT_YAWLEFT, thrust);
I can avoid the CTD like this:
Code:
if (thrust == thrust)
vessel->SetThrusterGroupLevel(THGROUP_ATT_YAWLEFT, thrust);
However, I have to check WHY it's nan...