Qualcomm 4.3 Computer Accessories User Manual


 
Eudora User Manual Eudora MAPI Shutdown Procedure
250
QUALCOMM Incorporated
1 Check to see whether or not the Eudora MAPI DLLs are already installed in the
Windows SYSTEM directory. If so, then you are finished.
2 Check for existing Microsoft MAPI.DLL and MAPI32.DLL files. If found, rename
MAPI.DLL to MAPI.000 and rename MAPI32.DLL to MAPI32.000. (If a MAPI.000 file
already exists, then Eudora uses MAPI.001, MAPI.002 etc.)
3 Copy the EUMAPI.DLL and EUMAPI32.DLL files from the Eudora program directory to
the Windows SYSTEM directory as MAPI.DLL and MAPI32.DLL, respectively.
Eudora MAPI Shutdown Procedure
When shutdown, Eudora runs the following unswap procedure when the user selects
either the When Eudora is running or Never MAPI Server option in Eudora (see MAPI
Technical Report on page 247; click the page number to display the topic).
1 Check to see whether or not the Eudora MAPI DLLs are already installed in the
Windows SYSTEM directory. If not, then you are finished.
2 Delete the Eudora MAPI.DLL and MAPI32.DLL files.
3 Rename the MAPI.000 and MAPI32.000 files, if any, to MAPI.DLL and MAPI32.DLL,
respectively. (If a MAPI.001, MAPI.002, etc. file exists, then Eudora renames the one
with the highest number.)
Eudora DLL Swapping Restrictions
It is important to note that there are several restrictions with the above Eudora swap and
unswap procedures: The Eudora swap and unswap procedures can only run successfully
if the MAPI.DLL and MAPI32.DLL are not currently in use by one or more MAPI client
applications.
When a MAPI client application loads a MAPI or MAPI32 DLL file, Windows locks the
DLL file while the library is loaded into memory to show that the file is in use. Eudora can
normally detect that the MAPI.DLL and/or MAPI32.DLL files are in use. If Eudora detects
that a MAPI or MAPI32 DLL is locked, it displays an error message and skips the swap or
unswap procedure.
When Eudora is forced to skip the swap or unswap procedure, this means that the MAPI
DLLs are in the wrong state with respect to Eudora that is, 1) the Microsoft MAPI
DLLs could be installed even after Eudora starts, or 2) the Eudora MAPI DLLs could be
installed even after Eudora shuts down. To prevent this from happening, use the following
procedure when using Eudora MAPI:
1 Start Windows.
2 Start Eudora.
3 Start any MAPI client applications.
4 Send attachments to Eudora via the installed Eudora MAPI interface.
5 Shutdown all MAPI client applications.
6 Shutdown Eudora.