Click here to Skip to main content
15,920,828 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: How to show a progress dialog to a no window procedure Pin
Mark Salsbery15-May-07 5:41
Mark Salsbery15-May-07 5:41 
AnswerRe: How to show a progress dialog to a no window procedure Pin
zhongwenjia15-May-07 23:36
zhongwenjia15-May-07 23:36 
AnswerRe: How to show a progress dialog to a no window procedure Pin
zhongwenjia15-May-07 23:52
zhongwenjia15-May-07 23:52 
GeneralRe: How to show a progress dialog to a no window procedure Pin
Hamid_RT16-May-07 2:08
Hamid_RT16-May-07 2:08 
GeneralRe: How to show a progress dialog to a no window procedure Pin
Mark Salsbery16-May-07 4:59
Mark Salsbery16-May-07 4:59 
GeneralRe: How to show a progress dialog to a no window procedure Pin
Mark Salsbery16-May-07 5:14
Mark Salsbery16-May-07 5:14 
Questionerror C2106: '=' : left operand must be l-value Pin
Aint14-May-07 17:43
Aint14-May-07 17:43 
AnswerRe: error C2106: '=' : left operand must be l-value Pin
bob1697214-May-07 18:14
bob1697214-May-07 18:14 
What you need to do to copy those depends on what kind of arrays you have. If they are of type CArray or similar, there is a member function CArray::Copy to achieve this. Others require you go through and copy each element in the array to a corresponding index on the destination array.

However, if it's an array of pointers, you want to think this through carefully and understand who points to what an who is reponsible for resource cleanup so you don't dangle pointers later on.

In a nutshell, the assignment operator = is usually not used to copy arrays.
GeneralRe: error C2106: '=' : left operand must be l-value Pin
Arman S.14-May-07 20:08
Arman S.14-May-07 20:08 
GeneralRe: error C2106: '=' : left operand must be l-value Pin
bob1697215-May-07 2:13
bob1697215-May-07 2:13 
AnswerRe: error C2106: '=' : left operand must be l-value Pin
John R. Shaw14-May-07 19:10
John R. Shaw14-May-07 19:10 
QuestionEvent Handler -Please help me Pin
prathuraj14-May-07 17:08
prathuraj14-May-07 17:08 
AnswerRe: Event Handler -Please help me Pin
Arman S.14-May-07 19:30
Arman S.14-May-07 19:30 
GeneralRe: Event Handler -Please help me Pin
prathuraj14-May-07 19:43
prathuraj14-May-07 19:43 
GeneralRe: Event Handler -Please help me Pin
Arman S.14-May-07 19:51
Arman S.14-May-07 19:51 
GeneralRe: Event Handler -Please help me Pin
prathuraj14-May-07 22:32
prathuraj14-May-07 22:32 
GeneralRe: Event Handler -Please help me Pin
Arman S.14-May-07 22:40
Arman S.14-May-07 22:40 
GeneralRe: Event Handler -Please help me Pin
Hamid_RT14-May-07 20:55
Hamid_RT14-May-07 20:55 
GeneralRe: Event Handler -Please help me Pin
prathuraj14-May-07 23:33
prathuraj14-May-07 23:33 
GeneralRe: Event Handler -Please help me Pin
Hamid_RT15-May-07 1:00
Hamid_RT15-May-07 1:00 
GeneralRe: Event Handler -Please help me Pin
prathuraj15-May-07 1:23
prathuraj15-May-07 1:23 
GeneralRe: Event Handler -Please help me Pin
Hamid_RT15-May-07 2:05
Hamid_RT15-May-07 2:05 
Questionwhat to include to use XMLReader? Pin
nathan714-May-07 16:41
nathan714-May-07 16:41 
AnswerRe: what to include to use XMLReader? Pin
nathan714-May-07 16:48
nathan714-May-07 16:48 
GeneralRe: what to include to use XMLReader? Pin
bob1697214-May-07 17:21
bob1697214-May-07 17:21 

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.