WD95: WordBasic Err=582 "Unable to Load Specified Library"Last reviewed: February 5, 1998Article ID: Q132214 |
The information in this article applies to:
SYMPTOMSYou receive the one of the following error messages:
WordBasic Err= 582, Unable to load specified library -or- WordBasic Error = : Invalid libraryThis happens when you do any of the following in Word for Windows 95, version 7.0:
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.
CAUSEMacros, 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.
TROUBLESHOOTINGIf 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:
WORKAROUNDIf 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.dotIf 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:
ARTICLE-ID: Q120767 TITLE : Porting 16-Bit WordBasic Macros to 32-Bit WordBasic Macros MORE INFORMATIONFor more information, open Word Help and click the Find tab. Search for "WordBasic Error 582". The following wizards and macros supplied with Word 6.0 will generate the error message when used in Word 7.0:
Wizard Name Filename Macro Name Template Name ----------- -------- ---------- ------------- Agenda Wizard Agenda.wiz BatchConversion Convert.dot Award Wizard Award.wiz EditConversionOptions Convert.dot Calendar Wizard Calendar.wiz PrintableCharacters Layout.dot Fax Wizard Fax.wiz FontSampleGenerator Macro60.dot Letter Wizard Letter.wiz MindBender Macro60.dot Memo Wizard Memo.wiz PrnSel2File Macro60.dot Newsletter Wizard Newslttr.wiz AccessExporter Tables.dot Pleading Wizard Pleading.wiz Resume Wizard Resume.wiz Table Wizard Table.wizIn addition, if you are using a custom macro that contains any of the following commands, you will receive the error message described above:
FindWindow CreateWindow GetActiveWindow GetModuleHandle SendMessage ShellExecuteThe following list of common add-ins have produced the error message described above:
Alki Software's MasterWord Woody Leonhard's "WOPR" package Bookshelf 94 integration Internet Assistant 1.0 Norton File Assistant Norton DesktopContact the add-in vendor or macro author for an update. The third-party products included here are manufactured by vendors independent of Microsoft; we make no warranty, implied or otherwise, regarding these products' performance or reliability.
|
Additional reference words: template MAPI ODBC CAPI Woody's Office Power
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |