Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
4.50/5 (2 votes)
Hi,

I have been using Visual studio .Net 2003 with WTL library,But now i need to port our running code to Visual studio 2008 with WTL library.

I am getting compiler error "error C2065: 'IID_IImageList' : undeclared identifier" on Visual studio 2008 but the same code running fine on Visual studio .Net 2003.
I did lots of web searching but didn't get any useful information.

The code snippet is following.

hr = SHGetImageList ( SHIL_SMALL, IID_IImageList, (void**) &m_TileIml ); // Error occurred


Kindly help me to fixed this issue. Your response is keenly awaited.

Thank you very much.

With regards,
Narayan
Posted
Updated 11-Apr-11 3:03am
v3

1 solution

In your project settings, check your "Additional Dependency".
I guess you are missing some .lib files there ( refer to old project settings.)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900