Click here to Skip to main content
15,912,977 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralWTL: CFrameWindow question Pin
João Paulo Figueira27-May-03 1:28
professionalJoão Paulo Figueira27-May-03 1:28 
QuestionHow to Implement "Drag" in List View without using MFC Pin
Pious26-May-03 22:00
Pious26-May-03 22:00 
AnswerRe: How to Implement "Drag" in List View without using MFC Pin
AlexO27-May-03 6:30
AlexO27-May-03 6:30 
QuestionATL CString in C++ .net/2003 - to export or not? Pin
Peter Weyzen26-May-03 18:45
Peter Weyzen26-May-03 18:45 
AnswerRe: ATL CString in C++ .net/2003 - to export or not? Pin
27-May-03 7:35
suss27-May-03 7:35 
GeneralWTL/STL Pin
bsanoop1726-May-03 7:30
bsanoop1726-May-03 7:30 
GeneralLong Atl Build-times Pin
Hugo Hallman25-May-03 11:07
Hugo Hallman25-May-03 11:07 
Generalerror C2065: 'ImageList_Read' : undeclared identifier Pin
szarea23-May-03 12:33
szarea23-May-03 12:33 
I’m getting the following errors:
atlctrls.h(1585) : error C2065: 'ImageList_Read' : undeclared identifier.

I would greatly appreciate if anyone can tell me why I’m getting the above error.

Here is my stdafx.h herder file:


// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently

#if !defined(AFX_STDAFX_H__731756F9_46C8_4C84_843A_D84A4E3C42C1__INCLUDED_)
#define AFX_STDAFX_H__731756F9_46C8_4C84_843A_D84A4E3C42C1__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


#define STRICT
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0400
#endif
#define _ATL_APARTMENT_THREADED

#pragma warning( disable : 4541 ) // disable warning 4541
#pragma warning( disable : 4530 ) // disable warning 4530
// MFC

#include <afxwin.h>
#include <commctrl.h>
#include <afxdisp.h>

// WTL/ATL
#include <commctrl.h>
#include <atlbase.h>
#include <commctrl.h>
#include <atlapp.h>
#include <commctrl.h>
//You may derive a class from CComModule and use it if you want to override
//something, but do not change the name of _Module
class CExeModule : public CComModule
{
public:
LONG Unlock();
DWORD dwThreadID;
HANDLE hEventShutdown;
void MonitorShutdown();
bool StartMonitor();
bool bActivity;
};
extern CExeModule _Module;

#include <commctrl.h>
#include <atlcom.h>
#include <atlwin.h>
#include <atlctl.h>
#include <comdef.h>
#include <atlhost.h>
#include <atldlgs.h>
#include <atlctrls.h>



// WINDOWS
#include <tchar.h>
#include <direct.h>
#include <stdio.h>
#include <stdlib.h>

// STL
#include <typeinfo>
#include <algorithm>
#include <stdexcept>
#include <exception>
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <list>
#include
#include <vector>
#include <time.h>
#include <urlmon.h>




//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__731756F9_46C8_4C84_843A_D84A4E3C42C1__INCLUDED)


Thank you,
GeneralRe: error C2065: 'ImageList_Read' : undeclared identifier Pin
Tim Smith24-May-03 3:11
Tim Smith24-May-03 3:11 
GeneralVector Iterator Pin
ironhead23-May-03 4:10
ironhead23-May-03 4:10 
GeneralRe: Vector Iterator Pin
Joaquín M López Muñoz23-May-03 4:15
Joaquín M López Muñoz23-May-03 4:15 
GeneralRe: Vector Iterator Pin
ironhead23-May-03 13:40
ironhead23-May-03 13:40 
GeneralList view problem in Explorer like application Pin
Derick Cyril Thomas23-May-03 3:48
Derick Cyril Thomas23-May-03 3:48 
QuestionAbout Implement IDocHostUIHandler Interface funtion ShowContextMenu? Pin
Boyren20-May-03 4:49
Boyren20-May-03 4:49 
GeneralLooking for Good, Concise C++ Tutorials Pin
Kevin McFarlane20-May-03 1:30
Kevin McFarlane20-May-03 1:30 
GeneralRe: Looking for Good, Concise C++ Tutorials Pin
valikac20-May-03 8:52
valikac20-May-03 8:52 
GeneralRe: Looking for Good, Concise C++ Tutorials Pin
Kevin McFarlane20-May-03 11:38
Kevin McFarlane20-May-03 11:38 
GeneralRe: Looking for Good, Concise C++ Tutorials Pin
Joaquín M López Muñoz20-May-03 11:58
Joaquín M López Muñoz20-May-03 11:58 
GeneralVector &amp; structur Pin
aguest20-May-03 0:58
aguest20-May-03 0:58 
GeneralRe: Vector &amp; structur Pin
markkuk20-May-03 1:23
markkuk20-May-03 1:23 
GeneralRe: Vector &amp; structur Pin
aguest20-May-03 12:02
aguest20-May-03 12:02 
GeneralRe: Vector & structur Pin
markkuk20-May-03 12:31
markkuk20-May-03 12:31 
GeneralRe: Vector &amp; structur Pin
aguest20-May-03 14:36
aguest20-May-03 14:36 
GeneralRe: Vector &amp; structur Pin
markkuk21-May-03 1:25
markkuk21-May-03 1:25 
GeneralWriting my own stream class Pin
Patje19-May-03 22:12
Patje19-May-03 22:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.