Finally some (good) news. I've found out what the problem is. It is not 
MFC initializaion. DoModal() produces access violation here:

// pump message, but quit on WM_QUIT
if (!AfxGetThread()->PumpMessage())
{

in CWnd::RunModalLoop()

    I belive the problem is in XPCOM threading model. One guy few topics 
below asked about it, but never got the answer. I have succeeded to show 
modeless dialog using Create() and ShowWindows(). It is not what I was 
looking for, but I'll try somehow to adopt my code. 


_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to