microsoft / microsoft/mfcmapi

Multiple addressbook details dialogs hang when closing in different order

Open
#280 2 comments 0 reactions 1 assignee View on GitHub

@stephenegriffin is already working on this.

Since May 9, 2019.

Dominant language
C++
Stars
978
Forks
170
Avg merge
1d 3h
Merged PRs (30d)
5

Description

If opening multiple addressbook dialogs and opening multiple address-details-dialogs parallel you must close these details dialogs in the order, that the latest opened dialog must be closed first. If closing the first dialog, the program hangs.
I have the same issue in our development project when using multiple threads without message pump. But here in mfcmapi there is a message pump and the issue is the same.

https://blogs.msdn.microsoft.com/stephen_griffin/2009/05/22/the-fifth-mapi-multithreading-rule/
"The first thread to initialize MAPI must pump messages "

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.