>I think you're still running up against MFC initialization. Any thread
> that processes MFC messages needs its own message loop. (I'm dredging up 5 
> year old knowledge so keep that in mind ;-).
I've tried initializations you have sent me through e-mail, but still the 
same.

> How are you building this? Did you use the wizard to create an MFC DLL?
I'm using npscriptable SDK project for testing purposes. It is Win32 DLL 
project. I have enabled MFC as static DLL and I don't have any other 
problems with MFC (CString...).

> Depending on how complex your dialog is, it might be easier to ditch MFC 
> and just create a standard Win32 dialog.
For testing purposes in npscriptable project I have added one default blank 
simple dialog with default OK and CANCEL buttons. In my real app I have 
several dialogs and I have planed to move to some cross platform GUI API 
(probably wxWidgets) next year, but can't do it today.

Thank you very much for your help.

P.S. Hmmmm... maybe creation of MFC DLL instead of Win32 DLL is a good idea. 
I'll try it. :> 


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

Reply via email to