菜鸟求救!List Control的图片
ymxxm 2001-04-12 12:09:00 请各位大侠不吝指教!
我在使用List Control时
定义了
CImagelist *pImageList;
pImageList->Create(16,16,0,8,8);
pImageList->Add(AfxGetApp()->LoadIcon("ICON1"));
...
CListCtrl *pList=(CListCtrl*)GetDlgItem(IDC_LIST1);
pList->SetImageList(m_ImageList,LVSIL_SMALL);
...
在编译时出错
提示:
class CImageList * pImageList" (?pImageList@@3PAVCImageList@@A) already defined in Ex06bView.obj
Debug/Ex06b.exe : fatal error LNK1169: one or more multiply defined symbols found