Hi all,
I have been getting this frustating problem where my application keep
throwing a NullReferenceException, but for the light of me I could not
localise the location of the problem since it was thrown from inside the
windows form dll. I've printed the stack trace as it come out. This is
strange what could possibly cause that?
This is really bizzare I am at lost trying to figure what was happening
here. Any idea anyone?
Thanks,
------------------
system.windows.forms.dll!System.Windows.Forms.Appl ication.ComponentManager.S
ystem.Windows.Forms.UnsafeNativeMethods+IMsoCompon entManager.FPushMessageLoo
p(int dwComponentID = 1, int reason = -1, int pvLoopData = 0) + 0x349 bytes
system.windows.forms.dll!ThreadContext.RunMessageL oopInner(int reason = -1,
System.Windows.Forms.ApplicationContext context =
{System.Windows.Forms.ApplicationContext}) + 0x1f3 bytes
system.windows.forms.dll!ThreadContext.RunMessageL oop(int reason = -1,
System.Windows.Forms.ApplicationContext context =
{System.Windows.Forms.ApplicationContext}) + 0x50 bytes
system.windows.forms.dll!System.Windows.Forms.Appl ication.Run(System.Windows
..Forms.Form mainForm = {Synop.Form1}) + 0x34 bytes
mainapp.exe!Main.AppLoader.DoStartup(string[] args = {Length=0}) Line 229 C#
mainapp.exe!Main.AppLoader.Main(string[] args = {Length=0}) Line 174 + 0x8
bytes C#