Prattaratt
Technical User
I am trying to overide the constructor for this object, but keep getting this error:
C++ Error] DBComboBox1.h(85): E2113 Virtual function '_fastcall TFieldProperty::TFieldProperty(const _di_IFormDesigner,int)' conflicts with base class 'TPropertyEditor'
Here's the code:
not real sure why these would be conflicting, as the documentation says that this error occurs when the return type differs (obviuosly not, as they are constructors) or calling convention differs (don't think so, either).
C++ Error] DBComboBox1.h(85): E2113 Virtual function '_fastcall TFieldProperty::TFieldProperty(const _di_IFormDesigner,int)' conflicts with base class 'TPropertyEditor'
Here's the code:
Code:
descendant declaration:
...
protected:
__fastcall virtual TFieldProperty(const _di_IFormDesigner ADesigner, int APropCount);
...
base declaration:
...
protected:
__fastcall virtual TPropertyEditor(const _di_IFormDesigner ADesigner, int APropCount);
...
not real sure why these would be conflicting, as the documentation says that this error occurs when the return type differs (obviuosly not, as they are constructors) or calling convention differs (don't think so, either).