CImageList linking problem 
Author Message
 CImageList linking problem

I'm trying to get an image list working for a Tree View in a dialog. The
following line compiles OK but gets a link error.

...
#include <atlcontrols.h>
using namespace ATLControls;
...
CImageList m_TVOImage;
m_TVOImage.Create(IDB_TVO_BITMAPS, 16, 0, 4, (COLORREF)0xFFFFFF);
...

Link Error is

BCiTool_Services error LNK2019: unresolved external symbol

ATLControls::CImageList::Create(int,int,unsigned int,int,int)"

Am I missing a header file somewhere?

Any help appreciated. Thanks in advance.

David Bell



Fri, 07 Oct 2005 17:58:35 GMT  
 CImageList linking problem

Quote:
> I'm trying to get an image list working for a Tree View in a dialog. The
> following line compiles OK but gets a link error.
> BCiTool_Services error LNK2019: unresolved external symbol

> ATLControls::CImageList::Create(int,int,unsigned int,int,int)"


Did you link "comctl32.lib" library?

--
Best regards,
Vadim Melnik
_____________________
http://www.docsultant.com/



Fri, 07 Oct 2005 18:48:05 GMT  
 CImageList linking problem
Thank you


Quote:
> > I'm trying to get an image list working for a Tree View in a dialog. The
> > following line compiles OK but gets a link error.

> > BCiTool_Services error LNK2019: unresolved external symbol

__thiscall
> > ATLControls::CImageList::Create(int,int,unsigned int,int,int)"

> Did you link "comctl32.lib" library?

> --
> Best regards,
> Vadim Melnik
> _____________________
> http://www.docsultant.com/



Sat, 08 Oct 2005 04:06:39 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. ATL::CImageList link error

2. URGENT: Serious Problem With CImageList...Please Help!

3. some problem about CImageList

4. CImagelist problem on different versions of Windows

5. CImagelist Problem ?

6. CImageList problems!

7. CImageList and CTreeCtrl problem

8. CListView - CImageList - problems ?!?!?!

9. CImageList-problem within ListView ???

10. CListCtrl & CImageList problem

11. Problem with CImageList::Attach()

12. Problem with mask of CImageList (with resolution 24 bits of colors)

 

 
Powered by phpBB® Forum Software