Posted 20 years ago
by meathook
-
Genesys Telecommunications
I have been able to reproduce and partially isolate the StackOverflowException reported originally at <A HREF="http://www.actiprosoftware.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=9&t=000396." TARGET=_blank>http://www.actiprosoftware.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=9&t=000396.</A>
Using VS.NET 2003 and creating an application with a single form (and references to the Actipro controls), I placed the following code into the Load event handler:
' Declared at class scope
m_map = New Hashtable
Dim se As New ActiproSoftware.SyntaxEditor.SyntaxEditor
se.Text = "Some text"
se.Visible = True
se.Parent = Me
m_map(1) = se
se.Visible = False
se.Parent = Nothing
se = Nothing
If you run this application then essentially ignore it, about 3 hours later a StackOverflowException occurs. It seems the problem relates to controls that aren't bound to controls but still have a valid object reference, but I'm not sure (it takes a long time to test different variations).
Can you look into this and see if you can reproduce and identify the issue?
Thanks.
Using VS.NET 2003 and creating an application with a single form (and references to the Actipro controls), I placed the following code into the Load event handler:
' Declared at class scope
m_map = New Hashtable
Dim se As New ActiproSoftware.SyntaxEditor.SyntaxEditor
se.Text = "Some text"
se.Visible = True
se.Parent = Me
m_map(1) = se
se.Visible = False
se.Parent = Nothing
se = Nothing
If you run this application then essentially ignore it, about 3 hours later a StackOverflowException occurs. It seems the problem relates to controls that aren't bound to controls but still have a valid object reference, but I'm not sure (it takes a long time to test different variations).
Can you look into this and see if you can reproduce and identify the issue?
Thanks.