This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

class "this" gets corrupted

Hello,

I am having a very strange behavior on my project.
I am calling a class method that access a certain atribute. I have debugged the application and on the second method call I have noticed that the attribute address changes. The class this pointer have changed and the atribute update was not accomplished successfully.

Does anyone have noticed this bug?

Regards,
André Moutinho

Parents
  • Thanks for your response.

    Unfortunatelly I cannot post the source code. It is very big and has around 200 modules (cpp files). I will try increasinng the stack space. I have noticed this problem by creating a static class firstly. I then have changed to dynamic allocation and the problem did happened again.

    Thanks
    André Moutinho

Reply
  • Thanks for your response.

    Unfortunatelly I cannot post the source code. It is very big and has around 200 modules (cpp files). I will try increasinng the stack space. I have noticed this problem by creating a static class firstly. I then have changed to dynamic allocation and the problem did happened again.

    Thanks
    André Moutinho

Children
No data