Changing signature of virtual functions breaks all |
Post Reply |
Author | |
adrien
Senior Member Joined: 30 April 2007 Location: New Zealand Status: Offline Points: 449 |
Post Options
Thanks(0)
Posted: 01 August 2012 at 7:51pm |
Hi
When you guys change the signature of a virtual, if we have overridden it, we don't get called any more. So changing the signature introduces a heap of bugs for us. In CXTPPropertyGridItem, the prototype for OnValueChanged went from void OnValueChanged(CString strValue) to void OnValueChanged(const CString& strValue). Consequently any place where we over-rode custom property grid item objects for special cases, no longer work. This is really really dangerous, and there should be a big warning somewhere about it. The sort of bugs it creates are hard to find, and we don't expect to have to fully regression test everything on every CJ update. C'mon guys help us out here.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |