flexgrid RCW Error

haseebhm

Member
Joined
Jan 12, 2009
Messages
9
Programming Experience
3-5
Hello. I am using a bound MSHFLEXGRID Control on a form. When I click the "CLOSE" button, it works fine and the form closes. But when I press ESC or ALT+C, I get the following error.

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.

Please Help
 
Back
Top