Click here to Skip to main content
16,010,523 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionregistry DWORD horror! Pin
justhere196-Sep-08 11:28
justhere196-Sep-08 11:28 
AnswerRe: registry DWORD horror! Pin
Bram van Kampen6-Sep-08 13:11
Bram van Kampen6-Sep-08 13:11 
AnswerRe: registry DWORD horror! Pin
Bram van Kampen6-Sep-08 17:36
Bram van Kampen6-Sep-08 17:36 
AnswerRe: registry DWORD horror! Pin
tanvon malik6-Sep-08 21:32
tanvon malik6-Sep-08 21:32 
AnswerRe: registry DWORD horror! Pin
David Crow8-Sep-08 4:05
David Crow8-Sep-08 4:05 
QuestionClass with variable length data Pin
Trollslayer6-Sep-08 10:49
mentorTrollslayer6-Sep-08 10:49 
AnswerRe: Class with variable length data Pin
Perspx6-Sep-08 10:55
Perspx6-Sep-08 10:55 
AnswerRe: Class with variable length data Pin
Bram van Kampen6-Sep-08 13:44
Bram van Kampen6-Sep-08 13:44 
Never mind Vectors, Templates are not omnipotent. The classic way of dealing with this is, to use a member_pointer to the data Object. Set this pointer to 'Empty'(whatever this means in your case) in the Class Constructor. If the data object has to grow dynamically, you want to provide for this in it's declaration and definition, for instance by an AddItem(...) type of function. You can also write Load(..) and Save(...) functions so Load or Save from or to Disk (Sorry, Persistent Storage)

regards Smile | :)

Bram van Kampen

Answer[Solved] Re: Class with variable length data Pin
Trollslayer7-Sep-08 0:01
mentorTrollslayer7-Sep-08 0:01 
GeneralRe: [Solved] Re: Class with variable length data Pin
David Crow8-Sep-08 4:10
David Crow8-Sep-08 4:10 
QuestionRe: Class with variable length data Pin
David Crow8-Sep-08 4:09
David Crow8-Sep-08 4:09 
QuestionHow to define interface that it is strong, safe and ... Pin
york5286-Sep-08 9:58
york5286-Sep-08 9:58 
AnswerRe: How to define interface that it is strong, safe and ... Pin
liquid_6-Sep-08 10:28
liquid_6-Sep-08 10:28 
AnswerRe: How to define interface that it is strong, safe and ... Pin
Perspx6-Sep-08 10:28
Perspx6-Sep-08 10:28 
QuestionHow does export cookies functionality of IE is working with vc++? Pin
krishnakumartm6-Sep-08 8:12
krishnakumartm6-Sep-08 8:12 
Questionmy c++ application cannot allocate more than 400MB with new[] Pin
ybenaabud6-Sep-08 5:46
ybenaabud6-Sep-08 5:46 
GeneralRe: my c++ application cannot allocate more than 400MB with new[] Pin
Perspx6-Sep-08 6:41
Perspx6-Sep-08 6:41 
AnswerRe: my c++ application cannot allocate more than 400MB with new[] Pin
Bram van Kampen6-Sep-08 14:17
Bram van Kampen6-Sep-08 14:17 
GeneralRe: my c++ application cannot allocate more than 400MB with new[] Pin
ybenaabud6-Sep-08 16:30
ybenaabud6-Sep-08 16:30 
GeneralRe: my c++ application cannot allocate more than 400MB with new[] Pin
Bram van Kampen6-Sep-08 18:12
Bram van Kampen6-Sep-08 18:12 
AnswerRe: my c++ application cannot allocate more than 400MB with new[] Pin
ybenaabud7-Sep-08 3:15
ybenaabud7-Sep-08 3:15 
QuestionRe: my c++ application cannot allocate more than 400MB with new[] Pin
David Crow8-Sep-08 4:13
David Crow8-Sep-08 4:13 
GeneralRe: my c++ application cannot allocate more than 400MB with new[] Pin
ybenaabud8-Sep-08 11:59
ybenaabud8-Sep-08 11:59 
QuestionRe: my c++ application cannot allocate more than 400MB with new[] Pin
David Crow8-Sep-08 15:42
David Crow8-Sep-08 15:42 
AnswerRe: my c++ application cannot allocate more than 400MB with new[] Pin
ybenaabud9-Sep-08 11:03
ybenaabud9-Sep-08 11:03 

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.