Click here to Skip to main content
15,903,175 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: How can i show the string correctly? Pin
hdj831124-Sep-08 22:52
hdj831124-Sep-08 22:52 
QuestionHow do I use CWindowWithReflectorImpl? Pin
Philipp Kursawe22-Sep-08 10:47
Philipp Kursawe22-Sep-08 10:47 
QuestionWhy not to use Smart types in a container? Pin
paresh_joe17-Sep-08 1:55
paresh_joe17-Sep-08 1:55 
QuestionRe: Why not to use Smart types in a container? Pin
paresh_joe17-Sep-08 2:25
paresh_joe17-Sep-08 2:25 
AnswerRe: Why not to use Smart types in a container? Pin
followait17-Sep-08 5:32
followait17-Sep-08 5:32 
GeneralRe: Why not to use Smart types in a container? Pin
paresh_joe17-Sep-08 19:52
paresh_joe17-Sep-08 19:52 
GeneralRe: Why not to use Smart types in a container? Pin
followait17-Sep-08 23:15
followait17-Sep-08 23:15 
Questionvector resize question Pin
followait16-Sep-08 3:53
followait16-Sep-08 3:53 
Here is my test code.

class fig_line
{
public:
	fig_line(ADO::_ConnectionPtr connection, const std::wstring &source_query);
	virtual ~fig_line(void);
	fig_line(){}
	
private:
	fig_line(const fig_line &a_fig_line){}
	fig_line & operator=(const fig_line &a_fig_line){return *this;}
}

std::vecotr<fig_line> m_lines;
m_lines.resize(10);//not compiles
</fig_line>


class fig_line
{
public:
	fig_line(ADO::_ConnectionPtr connection, const std::wstring &source_query);
	virtual ~fig_line(void);
	fig_line(){}
	
//private:
	fig_line(const fig_line &a_fig_line){}
	fig_line & operator=(const fig_line &a_fig_line){return *this;}
}

std::vecotr<fig_line> m_lines;
m_lines.resize(10);//compiles
</fig_line>


class fig_line
{
public:
	fig_line(ADO::_ConnectionPtr connection, const std::wstring &source_query);
	virtual ~fig_line(void);
	fig_line(){}
	
//private:
//	fig_line(const fig_line &a_fig_line){}
//	fig_line & operator=(const fig_line &a_fig_line){return *this;}
}

std::vecotr<fig_line> m_lines;
m_lines.resize(10);//compiles
</fig_line>


Why can't case 1 be compiled?Confused | :confused:

system

AnswerRe: vector resize question [modified] Pin
George L. Jackson16-Sep-08 7:08
George L. Jackson16-Sep-08 7:08 
GeneralRe: vector resize question Pin
followait16-Sep-08 14:26
followait16-Sep-08 14:26 
GeneralRe: vector resize question [modified] Pin
George L. Jackson17-Sep-08 3:07
George L. Jackson17-Sep-08 3:07 
QuestionSTL serializetion Pin
followait15-Sep-08 15:56
followait15-Sep-08 15:56 
AnswerRe: STL serializetion Pin
Stuart Dootson15-Sep-08 21:36
professionalStuart Dootson15-Sep-08 21:36 
GeneralRe: STL serializetion Pin
followait15-Sep-08 22:03
followait15-Sep-08 22:03 
QuestionProblems handling ATL Event from Microsoft Word Pin
kalukaley15-Sep-08 11:18
kalukaley15-Sep-08 11:18 
AnswerRe: Problems handling ATL Event from Microsoft Word Pin
Stuart Dootson15-Sep-08 21:44
professionalStuart Dootson15-Sep-08 21:44 
GeneralRe: Problems handling ATL Event from Microsoft Word Pin
kalukaley20-Sep-08 11:04
kalukaley20-Sep-08 11:04 
QuestionActiveX Control Resizing Pin
preeti sharma15-Sep-08 4:09
preeti sharma15-Sep-08 4:09 
QuestionSE_LMSHARE is failing if MS office 2007 Japanese IME is installed Pin
GnanaprakashJebaraj13-Sep-08 3:23
GnanaprakashJebaraj13-Sep-08 3:23 
QuestionHow to use ComboBox in ListView (for editing ListView) in WTL? Pin
smalti11-Sep-08 23:32
smalti11-Sep-08 23:32 
AnswerRe: How to use ComboBox in ListView (for editing ListView) in WTL? Pin
Amit Luniya25-Sep-08 22:18
Amit Luniya25-Sep-08 22:18 
AnswerRe: How to use ComboBox in ListView (for editing ListView) in WTL? Pin
Member 183477015-Oct-08 3:33
Member 183477015-Oct-08 3:33 
QuestionToolBar "affaire" Pin
Ritxi11-Sep-08 23:07
Ritxi11-Sep-08 23:07 
AnswerRe: ToolBar "affaire" Pin
Ritxi14-Sep-08 21:54
Ritxi14-Sep-08 21:54 
QuestionProblem with ATL IE plugin programming Pin
Robert Wang198310-Sep-08 5:19
Robert Wang198310-Sep-08 5:19 

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.