Menu

"Load Grammer" hangs

2012-07-01
2014-06-18
  • James Bremner

    James Bremner - 2012-07-01

    I found that when I click the menu option File | Load Grammer the program hangs.  The expected file browser does not appear and after a while the title of the window says "not responding"

    To fix this problem I needed to rebuild the program with the line

      [System.STAThreadAttribute()]
    

    added just before

    public static void Main(string[] arg)   {
    

    at the end of the file EbnfForm.cs

     
  • Ytrog

    Ytrog - 2013-11-26

    I have the same problem. The strange thing is that when you make a winforms application [System.STAThreadAttribute()] is inserted automatically, so I wonder why it is omitted in this application. Is the source maybe too old? I would love to upgrade it to .NET 4.5 btw :)

     
    • S Roubtsov

      S Roubtsov - 2014-06-18

      Hi, if you are still interested:
      I modified it a bit.
      Changes:
      - Added: [STAThread] to the Main(). Now it works under win 64 .net 4.5
      - Changed: The first rule in the grammar is opened automatically
      - Added: Save As HTML for a current production
      - Added: Export to HTML in a frameset. The rules on the right are clickable just as in the tool.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.