Click here to Skip to main content
15,899,937 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: static members in templates... Pin
Nemanja Trifunovic22-Nov-03 10:02
Nemanja Trifunovic22-Nov-03 10:02 
GeneralRe: static members in templates... Pin
Joaquín M López Muñoz23-Nov-03 2:30
Joaquín M López Muñoz23-Nov-03 2:30 
GeneralInformation of running application's objects Pin
naveensg18-Nov-03 23:08
naveensg18-Nov-03 23:08 
GeneralDDX DLL and CComboBoxImpl in WTL Pin
bryces18-Nov-03 17:17
bryces18-Nov-03 17:17 
GeneralRe: DDX DLL and CComboBoxImpl in WTL Pin
Michael Dunn18-Nov-03 17:26
sitebuilderMichael Dunn18-Nov-03 17:26 
GeneralRe: DDX DLL and CComboBoxImpl in WTL Pin
bryces18-Nov-03 17:39
bryces18-Nov-03 17:39 
GeneralRe: DDX DLL and CComboBoxImpl in WTL Pin
Michael Dunn22-Nov-03 16:30
sitebuilderMichael Dunn22-Nov-03 16:30 
GeneralRe: DDX DLL and CComboBoxImpl in WTL Pin
bryces23-Nov-03 11:47
bryces23-Nov-03 11:47 
Hi Mike,

Thanks fro the reply.

Here is my inheritance list for my dialog:

class CTargetDialog : public CAxDialogImpl<CTargetDialog>,<br />
                      public CWinDataExchange<CTargetDialog>,<br />
                      public CComObjectRootEx<CComSingleThreadModel>,<br />
                      public CComCoClass<CTargetDialog><br />



And here is is my listing for stdafx.h
<br />
#if !defined(AFX_STDAFX_H__63977A7A_D850_4BDE_A636_B409D3974963__INCLUDED_)<br />
#define AFX_STDAFX_H__63977A7A_D850_4BDE_A636_B409D3974963__INCLUDED_<br />
<br />
#if _MSC_VER > 1000<br />
#pragma once<br />
#endif // _MSC_VER > 1000<br />
<br />
#define STRICT<br />
#ifndef _WIN32_WINNT<br />
#define _WIN32_WINNT 0x0400<br />
#endif<br />
<br />
#define _WTL_USE_CSTRING<br />
#define _ATL_APARTMENT_THREADED<br />
<br />
#include <atlbase.h><br />
#include <atlapp.h><br />
extern CAppModule _Module;<br />
#include <atlcom.h><br />
#include <atlhost.h><br />
#include <atlwin.h><br />
#include <atlctl.h><br />
<br />
#include <atlframe.h><br />
#include <atlcrack.h><br />
#include <atlmisc.h><br />
#include <atlctrls.h><br />
#include <atlctrlx.h><br />
#include <atlddx.h><br />
<br />
#include <exdisp.h><br />
#include <exdispid.h><br />
<br />
#pragma warning(push)<br />
#pragma warning(disable : 4146)<br />
#pragma warning(disable : 4192)<br />
#import "C:\arcgis\arcexe83\bin\esriCore.olb" \<br />
		raw_interfaces_only, \<br />
		raw_native_types, \<br />
		no_namespace, \<br />
		named_guids, \<br />
		exclude("OLE_COLOR", "OLE_HANDLE")<br />
#pragma warning(pop)<br />
<br />
#include "C:\arcgis\arcexe83\ArcObjects Developer Kit\Kits\CATIDs\arccatids.h"<br />
<br />
<br />
#if _ATL_VER < 0x0700<br />
#undef BEGIN_MSG_MAP<br />
#define BEGIN_MSG_MAP(x) BEGIN_MSG_MAP_EX(x)<br />
#endif<br />
<br />
class CStaticImpl : public CWindowImpl<CStaticImpl, CStatic><br />
    { DECLARE_EMPTY_MSG_MAP() };<br />
<br />
class CComboBoxImpl : public CWindowImpl<CComboBoxImpl, CComboBox><br />
    { DECLARE_EMPTY_MSG_MAP(); };<br />


I have had to reorganize my header files list in the Tools>Options>Directories otherwise I get a redefinition of ISegment error. I have placed the path of the widowsSDK at the bottom of the list and the path to the WTL libraries at the top of the list.

I doubt this is the source of my problems though.

cheers
Bryce
GeneralRe: DDX DLL and CComboBoxImpl in WTL Pin
bryces23-Nov-03 11:53
bryces23-Nov-03 11:53 
GeneralRe: DDX DLL and CComboBoxImpl in WTL Pin
bryces23-Nov-03 12:29
bryces23-Nov-03 12:29 
GeneralRe: DDX DLL and CComboBoxImpl in WTL Pin
Michael Dunn23-Nov-03 14:57
sitebuilderMichael Dunn23-Nov-03 14:57 
GeneralRe: DDX DLL and CComboBoxImpl in WTL Pin
bryces23-Nov-03 15:17
bryces23-Nov-03 15:17 
GeneralRe: DDX DLL and CComboBoxImpl in WTL Pin
Michael Dunn23-Nov-03 17:37
sitebuilderMichael Dunn23-Nov-03 17:37 
GeneralRe: DDX DLL and CComboBoxImpl in WTL Pin
bryces23-Nov-03 17:57
bryces23-Nov-03 17:57 
GeneralATL & DHTML Pin
Leesen18-Nov-03 5:33
Leesen18-Nov-03 5:33 
GeneralTemplate and message map Pin
Stephane David18-Nov-03 3:59
Stephane David18-Nov-03 3:59 
GeneralRe: Template and message map Pin
Member 20218605-Jun-05 22:50
Member 20218605-Jun-05 22:50 
GeneralTemplate issue.. Pin
GDavy18-Nov-03 2:11
GDavy18-Nov-03 2:11 
GeneralRe: Template issue.. Pin
GDavy18-Nov-03 2:16
GDavy18-Nov-03 2:16 
GeneralRe: Template issue.. Pin
GDavy18-Nov-03 3:25
GDavy18-Nov-03 3:25 
GeneralIOleInPlaceObjectWindowLessImpl::GetDropTarget Pin
Jörgen Sigvardsson18-Nov-03 0:31
Jörgen Sigvardsson18-Nov-03 0:31 
GeneralParent-Child windows relationship Pin
Gabriel.P.G17-Nov-03 10:46
Gabriel.P.G17-Nov-03 10:46 
QuestionHow do I read one vector from another? Pin
WREY16-Nov-03 17:08
WREY16-Nov-03 17:08 
AnswerRe: How do I read one vector from another? Pin
Michael Dunn16-Nov-03 18:46
sitebuilderMichael Dunn16-Nov-03 18:46 
GeneralRe: How do I read one vector from another? Pin
WREY16-Nov-03 21:44
WREY16-Nov-03 21:44 

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.