GP Fault with FilePrint Command in an AutoExec Macro

ID: Q110073

The information in this article applies to:

SYMPTOMS

Using the FilePrint or FilePrintDefault command in an AutoExec, AutoOpen, or Command Line macro causes the following general protection (GP) fault to appear when you start Word for Windows:

     WinWord caused a General Protection Fault
     in module: WINWORD.EXE at 00AE:6C75

Note: You can execute a macro from the Command Line property of an icon in Program Manager using the /m switch. Below is a sample command line that runs a macro named TheMacro:

   C:\WINWORD\WINWORD.EXE /MTheMacro C:\WINWORD\FILENAME.DOC

STATUS

Microsoft has confirmed this to be a problem in Word for Windows. This problem was corrected in versions 6.0a and later of Word for Windows.

RESOLUTION

Remove FilePrint and/or FilPrintDefault from the AutoExec macro in NORMAL.DOT. Use the following procedure to edit the AutoExec macro:

1. Close Word.

2. In Program Manager, choose Run from the File menu.

3. Type "winword.exe /m" (without the quotation marks) and press ENTER.

   This command starts Word without executing the AutoExec macro.

4. From the Tools menu, choose Macro, select AutoExec from the list box,
   and then choose Edit.

5. Find the location of FilePrint and/or FilePrintDefault in the macro and
   remove these statements.

6. From the File menu, choose Save All to save the results of your changes
   to AutoExec.

To obtain Word 6.0c, call the Microsoft Order Desk at (800) 360-7561 and request the Word 6.0c update. If you are outside the United States, contact your local subsidiary. To locate your subsidiary, see the Microsoft World Wide Offices Web site at:

   http://www.microsoft.com/worldwide/default.htm

KBCategory: KBSubcategory:

Additional query words: 6.0 gpf custsales winword word6 6.0afixlist

Keywords          : kbprint
Version           : 6.0
Platform          : WINDOWS

Last Reviewed: February 5, 1998