PRJ4: Deleted Object Causes General Protection (GP) Fault |
Q135013
When you click the right mouse button to delete an object while a macro that uses the DrawCreate and DrawProperties methods is running, you may receive a general protection (GP) fault.
When a Microsoft Project macro is running, a user may want to create a
drawing on the Gantt Chart, and then display its properties. (Note that
user interaction is allowed when a macro is running--which allows the user
to draw the object.)
However, if the user activates an existing object by using the right mouse
button, the object's shortcut menu will be displayed and the macro will be
paused. After the menu command is finished, the macro will continue with
the next statement. However, if you use the Delete command to delete the
object, the DrawingProperties method attempts to display properties of an
object that no longer exists.
Microsoft has confirmed this to be a problem in the products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
Additional query words: error crash hang gpf
Keywords : kbcode kbprg kbofficeprog
Issue type :
Technology :
|
Last Reviewed: March 29, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |