Click here to Skip to main content
16,011,436 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: EditBox and RichEdit Box not able to display multilanguage application Pin
Dhiraj kumar Saini12-Sep-08 2:18
Dhiraj kumar Saini12-Sep-08 2:18 
QuestionHow to create and array of structs that have their own arrays? [modified] Pin
Electronic7510-Sep-08 20:37
Electronic7510-Sep-08 20:37 
QuestionRe: How to create and array of structs that have their own arrays? Pin
CPallini10-Sep-08 21:08
mveCPallini10-Sep-08 21:08 
AnswerRe: How to create and array of structs that have their own arrays? Pin
Electronic7510-Sep-08 21:18
Electronic7510-Sep-08 21:18 
QuestionRe: How to create and array of structs that have their own arrays? Pin
CPallini10-Sep-08 21:28
mveCPallini10-Sep-08 21:28 
AnswerRe: How to create and array of structs that have their own arrays? Pin
Electronic7510-Sep-08 21:46
Electronic7510-Sep-08 21:46 
GeneralRe: How to create and array of structs that have their own arrays? Pin
CPallini10-Sep-08 21:50
mveCPallini10-Sep-08 21:50 
AnswerRe: How to create and array of structs that have their own arrays? Pin
Cedric Moonen10-Sep-08 21:30
Cedric Moonen10-Sep-08 21:30 
I guess it is because CArray and CStringArray don't have a copy constructor. So, the compiler will assign a default copy constructor and assignment operator to your structure which 'uses' the copy ctor and assignment operator of the CArray and CStringArray, which are private. One way to fix this is to provide your own copy constructor and assignment operators for the structure. In those, copy the contents of the arrays using a loop (instead of a direct assignment).

Cédric Moonen
Software developer

Charting control [v1.5]
OpenGL game tutorial in C++

GeneralRe: How to create and array of structs that have their own arrays? Pin
Electronic7510-Sep-08 21:49
Electronic7510-Sep-08 21:49 
GeneralRe: How to create and array of structs that have their own arrays? Pin
Cedric Moonen10-Sep-08 21:55
Cedric Moonen10-Sep-08 21:55 
GeneralRe: How to create and array of structs that have their own arrays? Pin
Electronic7511-Sep-08 0:04
Electronic7511-Sep-08 0:04 
QuestionHow to send data between PC usb port to a WinCE usb port? Pin
Priya_Sundar10-Sep-08 20:26
Priya_Sundar10-Sep-08 20:26 
AnswerRe: How to send data between PC usb port to a WinCE usb port? Pin
Cedric Moonen10-Sep-08 20:38
Cedric Moonen10-Sep-08 20:38 
GeneralRe: How to send data between PC usb port to a WinCE usb port? Pin
Priya_Sundar11-Sep-08 0:27
Priya_Sundar11-Sep-08 0:27 
GeneralRe: How to send data between PC usb port to a WinCE usb port? Pin
Cedric Moonen11-Sep-08 0:48
Cedric Moonen11-Sep-08 0:48 
Questionhow to create .MSG files and .EML files using vc++ Pin
ravimalikmca10-Sep-08 20:02
ravimalikmca10-Sep-08 20:02 
Question#import type library Pin
George_George10-Sep-08 19:42
George_George10-Sep-08 19:42 
AnswerRe: #import type library Pin
SandipG 10-Sep-08 20:47
SandipG 10-Sep-08 20:47 
GeneralRe: #import type library Pin
George_George10-Sep-08 20:52
George_George10-Sep-08 20:52 
GeneralRe: #import type library Pin
SandipG 10-Sep-08 21:47
SandipG 10-Sep-08 21:47 
GeneralRe: #import type library Pin
George_George10-Sep-08 21:54
George_George10-Sep-08 21:54 
GeneralRe: #import type library [modified] Pin
SandipG 10-Sep-08 22:04
SandipG 10-Sep-08 22:04 
GeneralRe: #import type library Pin
George_George10-Sep-08 23:33
George_George10-Sep-08 23:33 
Questionhow to retrieve all details on installed products in system Pin
yadhvi10-Sep-08 19:31
yadhvi10-Sep-08 19:31 
AnswerRe: how to retrieve all details on installed products in system Pin
Hamid_RT10-Sep-08 19:43
Hamid_RT10-Sep-08 19:43 

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.