Submitted by Erwin Lotter:
---- olewindo.cpp
If, as in the Borland tutorial, RegLinkHead is passed to
TOleWindow::CreateOcView() as a TRegLink*
like: CreateOcView(RegLinkHead, false, 0);
all works fine until someone uses Drag&Drop to drop an
object into
the (in-place) active view. Then for some reason
EvOcViewClose()
is called and inside EvOcViewClose() OcDoc->Close() is
called.
So far this migth be ok, but now
OcView = 0;
is executed. This leads to an execption as soon as
the OcView is
accessed for example in TOleWindow::EvSetCursor().
Perhaps 'OcDoc = 0;' was meant, but I don't believe
so, since OcDoc
should be delete-d before.
Jogy, this has been showing up as the hottest issue in the bug list. Are you hard at work at it, or has it perhaps mistakingly overstated its importance? :-)
If this issue is idling, I propose you reduce the priority level and/or unassign yourself should you have put it aside altogether.