Hi Ed,
Don't listen to Brandon. He's a trouble-maker.
I may have run into the same or similar issue. In my case, however, I am
working with new code in Editor 6.0, so I can't guarantee it is a version
issue. Anyhow, when I am closing a particular document (which primarily
consists of a table) and its window [I think I do a doc_close() and a
window_destroy()], I am getting errors from within a table ui hide bit of
code. I found that issuing:
goto_oid(oid_root())
caret 1,1
prior to doc_close/windows_destroy tended to avoid the problem. Not sure
which or both solve (side-step) the issue.
On Thu, Jul 5, 2012 at 10:52 AM, Brandon Ibach <
brandon.ibach@single-sourcing.com> wrote:
> Sounds like a timing issue. If you're shutting down Editor anyway, does
> it matter? Seems like the easiest solution would be to just add a check
> before access to any of the COM components to make sure they're still
> available and if not, then return some reasonable "null" result without
> throwing an error. Frankly, the guy who wrote this stuff to begin with
> should have known better (heheh... whoops!).
>
> If the COM components being closed automatically by Editor instead of by
> the ACL code causes a problem, then you probably just need to put a hook
> into the window closing to run the same "close down COM components" ACL
> code so that it'll happen on either window or document closing, whichever
> comes first.
>
> But, then, I'm probably oversimplifying... (not unheard of)
>
> -Brandon 🙂
>
> PS - Given the request for insults, I'd be tempted to say something about
> how Goofy-lookin' Ed is, but knowing Ed, he'd probably take it as a
> compliment, retire and spend *every* day at Disney World. 😉
>
>
>