Hi Mike,
to check the specific error reason, we need check the your project.
I think the possible problem can be:
1. your code/object size is too big to be loaded in m_text section.
or:
2. there are two object/code try to allocated in same memory address in m_text section.
after you optimize the code, the code size will get smaller, so no illegal access to specific m_text address.
does this answer your question?
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------