NPAPI plugin hang ui shows after modal dialog popup on firefox
问题 Here is what I am trying to do: My partner's NPAPI plugin calls a function in my vc dll, My function displays a modal dialog and accepts user input. But after the dialog shows, firefox's plugin-hang-ui will popup after a few seconds and I have to manually close it or the NPAPI plugin will crashes after another few seconds. HANDLE hThread - AfxBeginThread(DialogProc);//dialog diaplays in this thread MsgWaitForMultipleObjects(1,&hThread,FALSE,INFINITE,QS_ALLINPUT); Besides, my dialog will cause