I have been doing more work on this to make sure I understand.
Instead of trying to fix the code, I compiled without defining _DEBUG. It compiled without error, just warnings - which is expected.
I would really appreciate however, that if you can, please help me compile it with _DEBUG defined. I want to make sure I understand how I can follow a debug version.
So far, when the project is imported, Full debug is set in the properties, however, _DEBUG is also defined.error.
What exactly is happening here and how can I correctly put all of this together? In other words - "I have no idea" what is going on, or how debug information is being put together.