I had posted part of this in Asaf's "Compiling the DLL" thread but this is probably a better place.
I have merged the SDK files from Stolenray's Advanced Diplomacy, into Better BAT AI. It compiles fine, but I'm getting this popup when I'm trying to run in debug mode:

I get a CTD when running the release DLL.
I'm told that this is a pointer error, and I have no idea how to debug it, since going back to debug mode (it offers to debug for me) takes me into disassembly. I don't do so bad with C++ or C#, but assembly code is beyond me. Am I doing something wrong here?
Also, can loading XML tags in the wrong order cause something like this?
Any guidance would be appreciated. (And thanks to Folket for pointing out that it's a pointer error.)
I have merged the SDK files from Stolenray's Advanced Diplomacy, into Better BAT AI. It compiles fine, but I'm getting this popup when I'm trying to run in debug mode:

I get a CTD when running the release DLL.
I'm told that this is a pointer error, and I have no idea how to debug it, since going back to debug mode (it offers to debug for me) takes me into disassembly. I don't do so bad with C++ or C#, but assembly code is beyond me. Am I doing something wrong here?
Also, can loading XML tags in the wrong order cause something like this?
Any guidance would be appreciated. (And thanks to Folket for pointing out that it's a pointer error.)