Unknown Software Exception
Posted: Tue Apr 10, 2007 7:10 pm
I am running VS 2005 and Windows XP 64. I got the RanorexCore.dll running in 32 bit mode and everything was working great. Now I get this exception:
The exception unknown software exception (0xc0000005) occurred in the application at the location 0x7d621137.
There is no JIT or further messages.
If I comment out the line:
Control b = form.FindControlName("loginButton");
there are no further issues. Any idea what's happening? I figured it should return null rather then explode.
My code is below:
Form form = null;
while (form == null)
{
Application.GetForms();
form = Application.FindFormTitle("Untitled - Notepad");
if (form != null)
{
form.GetControls();
Control b = form.FindControlName("loginButton");
if (b != null)
{
System.Diagnostics.Debug.WriteLine(b.Text);
}
}
}
The exception unknown software exception (0xc0000005) occurred in the application at the location 0x7d621137.
There is no JIT or further messages.
If I comment out the line:
Control b = form.FindControlName("loginButton");
there are no further issues. Any idea what's happening? I figured it should return null rather then explode.
My code is below:
Form form = null;
while (form == null)
{
Application.GetForms();
form = Application.FindFormTitle("Untitled - Notepad");
if (form != null)
{
form.GetControls();
Control b = form.FindControlName("loginButton");
if (b != null)
{
System.Diagnostics.Debug.WriteLine(b.Text);
}
}
}