jorkin / js-builder

Automatically exported from code.google.com/p/js-builder
0 stars 0 forks source link

NullReferenceException running JSB #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Certain people have reported a null exception when starting JSB.  It seems
to be related to the XP visual styles support in MainForm.cs.  During
startup, EnableVisualStyles is called -- this function is notoriously
buggy, but only on certain machines / setups and is almost impossible to
replicate.  We may be better off removing that call and adding a manifest
file instead.

Issue here (follow-up required once this is resolved): 
http://www.yui-ext.com/forum/viewtopic.php?t=1195

Code Project article referencing the issue and how to include the proper
manifest:
http://www.codeproject.com/csharp/dotnetvisualstyles.asp

Original issue reported on code.google.com by bmoes...@gmail.com on 9 Dec 2006 at 6:53

GoogleCodeExporter commented 9 years ago
I've seen references to simply adding a DoEvents call after the 
EnableVisualStyles
call as a fix, so I've added that.  However, I don't have a way to verify if it
worked since I can't repro the issue.

Original comment by bmoes...@gmail.com on 20 Dec 2006 at 8:34