ender81x
05-04-2006 20:06:57
I am creating a MultiColumnList, and upon the exit of my program i get:
It also occurs sometimes while my app is already running, but not at any particular point. It seems to me that possibly .NET's garbage collection is trying to clean up the ListboxTextItem resources after they have already been deleted... but I'm not sure exactly what the problem is... Is anyone else have any problems with using the MultiColumnList widget?
Also, in case it helps, everything works great as long as I don't add any items to the list (since I am then not ever creating a ListboxTextItem object)
So here is what I am doing:
-Create MultiColumnList
-Add a row
-Destroy MutliColumnList using WindowManager.Instance.destroyWindow()
And if i either exit the app, or continue using it for a bit, then I get that error...
Thanks for the help!
Unhandled Exception: System.AccessViolationException: Attempted to read or write
protected memory. This is often an indication that other memory is corrupt.
at CeguiDotNet.CeguiBindingsPINVOKE.delete_ListboxTextItem(HandleRef jarg1)
at CeguiDotNet.ListboxTextItem.Dispose()
at CeguiDotNet.ListboxTextItem.Finalize()
It also occurs sometimes while my app is already running, but not at any particular point. It seems to me that possibly .NET's garbage collection is trying to clean up the ListboxTextItem resources after they have already been deleted... but I'm not sure exactly what the problem is... Is anyone else have any problems with using the MultiColumnList widget?
Also, in case it helps, everything works great as long as I don't add any items to the list (since I am then not ever creating a ListboxTextItem object)
So here is what I am doing:
-Create MultiColumnList
-Add a row
-Destroy MutliColumnList using WindowManager.Instance.destroyWindow()
And if i either exit the app, or continue using it for a bit, then I get that error...
Thanks for the help!