Closed Bug 240814 Opened 20 years ago Closed 20 years ago

mapi32.dll problem: Setting TB as default mail client stops MS Outlook from working

Categories

(Thunderbird :: Account Manager, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 109362

People

(Reporter: bugzilla, Assigned: mscott)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
Build Identifier: Mozilla Thunderbird 0.5+ (20040406)

I have both Thunderbird 0.5 and Microsoft Outlook 97 installed on an XP Pro 
SP1 machine. When Thunderbird is set as the default mail handling application, 
three symptoms occur:

1. Outlook will no longer run. The following error message is 
displayed: "Outlook.exe - Ordinal Not Found ... The ordinal 36 could not be 
located in the dynamic link library MAPI32.dll."

2. A third party application - Motorolla PhoneTools 2.20 (version 
040107002923) - can no longer access the Outlook contacts folder. It reports 
the following error message: "Phonebook ... Failure attempting to open 
c:\WINDOWS\outlook.pst file!"

3. Thunderbird cannot import the outlook address book. The following message 
is displayed: "Import ... Addresses successfully imported from Outlook. No 
Address Books were found to import."

After reviewing <a href="http://groups.google.co.uk/groups?
hl=en&lr=lang_en|lang_fr&ie=UTF-8&oe=UTF-8&safe=off&threadm=404694de_1%
40cnews&rnum=2&prev=/groups%3Fq%3Dmozilla%2Bthunderbird%2Bmapi32.dll%26hl%3Den%
26lr%3Dlang_en%257Clang_fr%26ie%3DUTF-8%26oe%3DUTF-8%26safe%3Doff%26selm%
3D404694de_1%2540cnews%26rnum%3D2">this thread</a> from the 
corel.wpoffice.wordperfect8 newsgroup, I restored my copy of mapi32.dll from 
the mapi32_moz_bak.dll version that Thunderbird seems to archive when it sets 
itself as the default mail application. All outlook functionality was 
restored, but Thunderbird was no longer the default mail handler.

As a test, I then toggled between the two "Use Mozilla Thunderbird as the 
default mail application" states found under Options > General Settings, and 
then tested for the above symptoms. I found that the symptoms manifest 
whenever that switch is set.

I believe this bug is related to the following two existing bugs: 234313 
238567.

I am not a code hacker, but I suggest that a comparisson between the version 
of mapi32.dll that Outlook installs, and the TB modified version, would be a 
good starting point for any investigation. I can provide copies of both .dll 
versions from my system if it will help to reproduce the bug elsewhere.

Reproducible: Always
Steps to Reproduce:
1. Install MS Outlook 97
2. Mozilla Thunderbird 0.5+ (20040406)
3. Launch MS Outlook and accept its offer to become the default mail handler. 
Close MS Outlook.
4. Launch Thunderbird and accept _its_ offer to become the default mail 
handler.
5. Close Thunderbird and launch Outlook for a second time.

Actual Results:  
Outlook does not run. The following error message is displayed: "Outlook.exe - 
Ordinal Not Found ... The ordinal 36 could not be located in the dynamic link 
library MAPI32.dll.". Access to the default outlook.pst file is no longer 
available from Thunderbird or third-party applications.

Expected Results:  
Outlook should launch correctly. Access to outlook.pst should be possible from 
Thunderbird and third-party applications.

One work-around is to un-register TB as the default mail handling application.
I have just confirmed that this bug is still present in Thunderbird version 0.6
(20040502).
See in particular bug 109362 comment 26 et seq.

*** This bug has been marked as a duplicate of 109362 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.