How to Use Visual C++ to Debug a WLL

Last reviewed: February 6, 1998
Article ID: Q128993
The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c

SUMMARY

To use Microsoft Visual C++ to debug a WLL file, do the following:

  1. Place the WLL file in the Word STARTUP subdirectory.

  2. In Visual C++, choose Debug from the Option menu.

  3. Set the following options

          Program Argument  :  c:\winword\winword.exe
          Additional Dll's  :  c:\winword\startup\<wllname>.wll
    

    where <wllname> is the name of your WLL.

  4. From the Debug menu, choose Go. Answer Yes to the prompt: "The file Winword.exe does not contain debugging information."

Make sure that you exit Word using the Exit command from within Word's File menu, and not by choosing Stop in the VC++ debugger. If you choose Stop in the VC++ debugger, Word will close down improperly, and may result in low memory conditions.


KBCategory: kbprg
KBSubcategory:
Additional reference words: 6.0 6.0a 6.0c winword word6
Keywords : kbprg
Version : 6.0 6.0a 6.0c
Platform : WINDOWS
Issue type : kbhowto


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: February 6, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.