PRJ4: Deleted Object Causes General Protection (GP) Fault

Last reviewed: November 24, 1997
Article ID: Q135013
The information in this article applies to:
  • Microsoft Project for Windows, version 4.0

SYMPTOMS

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.

CAUSE

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.

STATUS

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: 4.00 error crash hang gpf
Keywords : kbcode kbprg
Version : 4.0
Platform : WINDOWS
Issue type : kberrmsg


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 24, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.