For testing purposes, I have added one dialog to the "npscriptable" SDK 
project using VC6 wizard. I'm creating my dialog as:

//
// the following methods will be callable from JavaScript
//
NS_IMETHODIMP nsScriptablePeer::ShowVersion()
{
  MessageBox(0, "ShowVersion", "Test", 0);

  if (mPlugin)
    mPlugin->showVersion();

  CMyDlg dlg;
  dlg.DoModal();

  return NS_OK;
}

    Is there a hope?

Thank you very much. 


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

Reply via email to