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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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
added just before
at the end of the file EbnfForm.cs
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 :)
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.