WD95: WordBasic Err=582 "Unable to Load Specified Library" (132214)
The information in this article applies to:
- Microsoft Word for Windows 95
- Microsoft Word for Windows 95 7.0a
This article was previously published under Q132214 SYMPTOMS
You receive the one of the following error messages:
WordBasic Err= 582, Unable to load specified library
WordBasic Error = : Invalid library
This happens when you do any of the following in Word for Windows 95,
version 7.0:
- Run a macro or wizard designed for Word for Windows, version 2.0 or 6.0
- Open or save a file
- Start Word
NOTE: This problem occurs only in Word version 7.0 running under Windows
95; it does not occur in Word versions 2.0 or 6.0 under Windows 95.
This problem does not occur in Word 97 for Windows. When you open a Word
2.x document into Word 97, the macros are not converted. When you open a
Word 6.x or 7.x document into Word 97, the macros are converted to Visual
Basic macros.
CAUSE
Macros, wizards, templates, and global add-in programs that worked in
earlier versions of Word may not run at all in Word for Windows 95. This
happens when a macro designed for an earlier version of Word makes a call
to a 16-bit DLL (dynamic link library), or when an add-in program that was
designed to run in 16-bit Windows 3.x is run in Word 7.0. Word 7.0 is a 32-
bit application and cannot communicate with 16-bit DLLs.
Word version 2.0 and Word version 6.0 will run under Windows 95, and these
programs can successfully work with 16-bit DLLs.
TROUBLESHOOTING
If you receive this error message when starting Word or opening a new file,
the following instructions may help you locate the source of the problem:
- Look for Auto macros:
- On the Tools menu, click Macros.
- In the Macros Available In list, select All Active Templates.
- Look for any macros that start with the word "Auto," such as
AutoNew, AutoOpen, AutoExec, and AutoClose or "File," such as
FileOpen, FileAssist.
- Click the Organizer button.
- Click the Macros tab.
- Highlight any Auto or File macro, and click the Rename button. Give
the macro a new name by placing another letter at the beginning of
the macro name. The macro will still be available, but it won't load
automatically.
- Repeat the procedure that produced the problem. If the error
message
persists, continue with steps 2 and 3. If the message no longer
appears, either rewrite the macro or contact the person who wrote it
to get an updated macro.
- Look in the Startup folder for global templates and add-ins:
- Using Explorer, look in Word's Startup folder.
- Temporarily move the items from the Startup folder to the Desktop.
- Restart Word.
- If the error message persists, continue with step 3. If the message
no longer appears, contact the creator of the add-in for an updated
file.
- Look in File Templates for other global templates and add-ins:
- On the File menu, click Templates.
- In the "Global Templates and Add-ins" list, clear (remove the X
from) any item that is selected.
- Restart Word.
WORKAROUND
If you are using a wizard or macro supplied with Word 6.0, you may be able
to use a similar wizard or macro that comes with Word 7.0. The following
are similar:
Word 6.0 Wizard Name Word 7.0 Wizard Name
-------------------- --------------------
Fax.wiz Fax Wizard.wiz
Professional Fax.dot
Contemporary Fax.dot
Letter.wiz Letter Wizard.wiz
Professional Letter.dot
Contemporary Letter.dot
Memo.wiz Memo Wizard.wiz
Contemporary Memo.dot
Elegant Memo.dot
Professional Memo.dot
Word 6.0 Macro Name Word 7.0 Macro Name
------------------- -------------------
PrnSel2File SaveSelectionToTextFile in Macros7.dot
FontSampleGenerator (same name) in Macros7.dot
PrintableCharacters (same name) in Layout7.dot
If you are using a custom macro, you will need to rewrite it to use the 32-
bit API function equivalents instead of the 16-bit API calls.
For additional information on determining 32-bit equivalents, please see
the following article in the Microsoft Knowledge Base:
120767 Porting 16-Bit WordBasic Macros to 32-Bit WordBasic Macros
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | kbinterop kbmacro KB132214 |
---|
|