You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've also posted this in the Google Group but we suspect this may be a bug in ATF so I'm posting here as well.
I'm having an issue customizing my variant of the DomPropertyEditor example to use ToolTips instead of "DisplayDescriptions" which appears in the status bar.
Basically, all I've done is create a subclass of PropertyEditor and then in the Configure method, my first call is:
propertyGrid = new PropertyGrid(PropertyGridMode.DisplayToolTips, new PropertyGridView());
If I change "DisplayToolTips" to "DisplayDescriptions" everything is great, and I see descriptions fine.
But in the form above, clicking on a property name crashes the app with the error I've copied below.
Any ideas on why some cleanup would crash it? The stack trace isn't very useful. I'm a bit stumped.
Thanks!
-Len
Crash error follows:
Managed Debugging Assistant 'RaceOnRCWCleanup' has detected a problem in 'C:\tools\TestApp\bin\Debug\TestApp.vshost.exe'.
Additional Information: An attempt has been made to free an RCW that is in use. The RCW is in use on the active thread or another thread. Attempting to free an in-use RCW can cause corruption or data loss.
The text was updated successfully, but these errors were encountered:
Thanks, Len, for the good bug report. I think this was a case of "bit rot", where this code path wasn't exercised any more in a sample app. I made the Circuit Editor sample app use this PropertyGridMode.DisplayToolTips enum now.
I've also posted this in the Google Group but we suspect this may be a bug in ATF so I'm posting here as well.
I'm having an issue customizing my variant of the DomPropertyEditor example to use ToolTips instead of "DisplayDescriptions" which appears in the status bar.
Basically, all I've done is create a subclass of PropertyEditor and then in the Configure method, my first call is:
propertyGrid = new PropertyGrid(PropertyGridMode.DisplayToolTips, new PropertyGridView());
If I change "DisplayToolTips" to "DisplayDescriptions" everything is great, and I see descriptions fine.
But in the form above, clicking on a property name crashes the app with the error I've copied below.
Any ideas on why some cleanup would crash it? The stack trace isn't very useful. I'm a bit stumped.
Thanks!
-Len
Crash error follows:
Managed Debugging Assistant 'RaceOnRCWCleanup' has detected a problem in 'C:\tools\TestApp\bin\Debug\TestApp.vshost.exe'.
Additional Information: An attempt has been made to free an RCW that is in use. The RCW is in use on the active thread or another thread. Attempting to free an in-use RCW can cause corruption or data loss.
The text was updated successfully, but these errors were encountered: