[問題] MFC使用CStringList編譯時出現error C2248
錯誤描述全文
error C2248: 'CObject::operator =' : 無法存取 private 成員 (宣告在類別
'CObject' 中) G:\Program Files\Microsoft Visual Studio
9.0\VC\atlmfc\include\afxcoll.h 899
程式中有做到 CStringList 的 operator= 或copy constuctor運算
就會出現此錯誤,否則就沒事。
請問有辦法解決嗎?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 60.251.120.98
→
04/28 17:23, , 1F
04/28 17:23, 1F
※ 編輯: asingular 來自: 60.251.120.98 (04/28 17:27)
→
04/28 22:41, , 2F
04/28 22:41, 2F
→
04/28 22:42, , 3F
04/28 22:42, 3F
→
04/29 09:36, , 4F
04/29 09:36, 4F
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章