<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Dimitar Dobrev wrote:<br>
    </div>
    <blockquote
      cite="mid:1359742398.96399.YahooMailNeo@web122404.mail.ne1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:times
        new roman, new york, times, serif;font-size:12pt"><span
          class="tab">    <br>
        </span>
        <div><span class="tab">    Could you try decorating your Main
            method with the [STAThread]</span> attribute?<br>
        </div>
      </div>
    </blockquote>
    It already is... I almost included it, but here it is now:<br>
    <br>
    <tt>namespace RWMapMaker</tt><tt><br>
    </tt><tt>{</tt><tt><br>
    </tt><tt>    static class Program</tt><tt><br>
    </tt><tt>    {</tt><tt><br>
    </tt><tt>        /// <summary></tt><tt><br>
    </tt><tt>        /// The main entry point for the application.</tt><tt><br>
    </tt><tt>        /// </summary></tt><tt><br>
    </tt><tt>        [STAThread]</tt><tt><br>
    </tt><tt>        static int Main(String[] args)</tt><tt><br>
    </tt><tt>        {</tt><tt><br>
    </tt><tt>            QApplication app = new QApplication(args);</tt><tt><br>
    </tt><tt>            app.OrganizationName = "IvimeyCom";</tt><tt><br>
    </tt><tt>            app.ApplicationName = "RWMapMaker";</tt><tt><br>
    </tt><tt>            app.QuitOnLastWindowClosed = true;</tt><tt><br>
    </tt><tt>            QMainWindow mainWin = new MainWindow();</tt><tt><br>
    </tt><tt>            mainWin.Show();</tt><tt><br>
    </tt><tt>            return QApplication.Exec();</tt><tt><br>
    </tt><tt>        }</tt><tt><br>
    </tt><tt>    }</tt><tt><br>
    </tt><tt>}</tt><tt><br>
    </tt><br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Software Manager & Engineer
Tel: 01223 414180
Blog: <a class="moz-txt-link-freetext" href="http://www.ivimey.org/blog">http://www.ivimey.org/blog</a>
LinkedIn: <a class="moz-txt-link-freetext" href="http://uk.linkedin.com/in/ruthivimeycook/">http://uk.linkedin.com/in/ruthivimeycook/</a> </pre>
  </body>
</html>