I am repeatedly getting this message in my script, with options to "Continue", "End" and "Help" (I'll see what Help gives me... Ok, various reasons given but I don't think any of them apply). Any ideas why I might get this?
The code is within a 'ContextChanged' event handler that I set up in the Display.Open event. The handler calls some routines from a .NET DLL that give access to AF and I think it may be one of these calls that triggers the error. I have breakpoints at the start and end of the event handler and the end one is what prompts the message. If I remove it, I don't get the message (unless I am stepping through the code) but the event handler is detached from the event and I have to run the Display.Open code again.
I can obviously post the code if necessary but I don't have time right now. Let me know if it is needed.