Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Changing signature of virtual functions breaks all
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Changing signature of virtual functions breaks all

 Post Reply Post Reply
Author
Message
adrien View Drop Down
Senior Member
Senior Member


Joined: 30 April 2007
Location: New Zealand
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote adrien Quote  Post ReplyReply Direct Link To This Post Topic: Changing signature of virtual functions breaks all
    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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.