MinnisotaFreezing
Programmer
Can anyone help me with this? I have in my declare:
then the constructor:
I get double errors, "I must ini reference in consructor" and also m_CBSet = CBSet "= operator is not available.
Can anyone help me out? I can make it work by passing CheckBookSet as a pointer to my overriden constructor, but I would like to pass by ref. Is this possible? Smart?
Thanks in advance for any help you can give me.
CJB
Code:
CheckBookSet & m_CBSet;
AddItemDlg(CWnd* pParent = NULL);
AddItemDlg(CWnd* pParent, CheckBookSet & CBSet, int line);
Code:
AddItemDlg(CWnd* pParent, CheckBookSet & CBSet, int line);
{
m_CBSet = CBSet;
}
Can anyone help me out? I can make it work by passing CheckBookSet as a pointer to my overriden constructor, but I would like to pass by ref. Is this possible? Smart?
Thanks in advance for any help you can give me.
CJB