|
-
April 21st, 1999, 12:50 AM
#1
Help Experts!
Why the compile error? WorkCodes is CArray of CWorkCode. ERROR READS "afxtempl.h(443) : error C2582: 'CWorkCode' : 'operator =' function is unavailable" Would appreciate any help! Thanks!
void CTimeView::OnEditAddEdit()
{
CTimeDoc* pDoc = GetDocument();
CWorkCodeDialog wcd;
wcd.DoModal();
CWorkCode wc(wcd.m_strWorkCode, wcd.m_strDescription);
pDoc->WorkCodes.Add(wc);<-------COMPILE ERROR!
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|