Click here to Skip to main content
15,907,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to play Windows Media Player in VC++.NET [modified] Pin
Destiny7775-Apr-11 9:06
Destiny7775-Apr-11 9:06 
Questioncopy a registry value to another value Pin
pubis15-Jun-10 16:07
pubis15-Jun-10 16:07 
AnswerRe: copy a registry value to another value Pin
«_Superman_»15-Jun-10 18:26
professional«_Superman_»15-Jun-10 18:26 
GeneralRe: copy a registry value to another value Pin
pubis16-Jun-10 4:26
pubis16-Jun-10 4:26 
GeneralRe: copy a registry value to another value Pin
«_Superman_»16-Jun-10 18:50
professional«_Superman_»16-Jun-10 18:50 
GeneralRe: copy a registry value to another value Pin
pubis17-Jun-10 4:00
pubis17-Jun-10 4:00 
AnswerRe: copy a registry value to another value Pin
pubis16-Jun-10 7:58
pubis16-Jun-10 7:58 
QuestionLarge Object Creation Pin
Baltoro15-Jun-10 13:06
Baltoro15-Jun-10 13:06 
I'm basically curious about the heap, and how the operating system manages this type of memory.
I have a couple of applications, in which I have created and allocated alot of data which resides in a single C++ class instance, and I have not used any explicit heap memory allocation functions. This seems to work fine, and I'm not likely to have any security-related problems (these objects are NOT COM objects, nor, are they shared resources nor accessed externally from my local machine).
The size of these objects are in the range of 100 KB to about 350 KB. I'm wondering if this is a good idea, to just let the memory manager allocate this data, or should I explicitly allocate a private heap? These objects are usually used just as single instances,...occasionally, it will be deleted and re-allocated, but typically they are just single use class objects.
Of course, I could break up the objects into alot of smaller components, but, then again, is this necessarily a good idea?
I'd appreciate any suggestions. Thanks.
AnswerRe: Large Object Creation Pin
Stephen Hewitt15-Jun-10 14:05
Stephen Hewitt15-Jun-10 14:05 
AnswerRe: Large Object Creation Pin
T210215-Jun-10 21:36
T210215-Jun-10 21:36 
AnswerRe: Large Object Creation Pin
Aescleal16-Jun-10 6:35
Aescleal16-Jun-10 6:35 
AnswerThanks for Information Pin
Baltoro16-Jun-10 13:53
Baltoro16-Jun-10 13:53 
QuestionMSMQ Events in 64 Bit Windows 2003 Server Pin
Hariharan.T15-Jun-10 11:13
Hariharan.T15-Jun-10 11:13 
QuestionDrawing a polygon onto a DIB? Pin
Kiran Satish15-Jun-10 6:47
Kiran Satish15-Jun-10 6:47 
AnswerRe: Drawing a polygon onto a DIB? PinPopular
CPallini15-Jun-10 7:15
mveCPallini15-Jun-10 7:15 
Questionplotting in vc++ [modified] Pin
b-rad31115-Jun-10 5:03
b-rad31115-Jun-10 5:03 
AnswerRe: plotting in vc++ Pin
Maximilien15-Jun-10 6:40
Maximilien15-Jun-10 6:40 
GeneralRe: plotting in vc++ Pin
b-rad31115-Jun-10 7:12
b-rad31115-Jun-10 7:12 
Questionsynchronization of variables Pin
Sakhalean15-Jun-10 3:08
Sakhalean15-Jun-10 3:08 
AnswerRe: synchronization of variables Pin
Cedric Moonen15-Jun-10 3:14
Cedric Moonen15-Jun-10 3:14 
GeneralRe: synchronization of variables Pin
Joe Woodbury15-Jun-10 6:15
professionalJoe Woodbury15-Jun-10 6:15 
GeneralRe: synchronization of variables Pin
Aescleal15-Jun-10 8:58
Aescleal15-Jun-10 8:58 
AnswerRe: synchronization of variables Pin
Maximilien15-Jun-10 3:24
Maximilien15-Jun-10 3:24 
GeneralRe: synchronization of variables Pin
Niklas L15-Jun-10 3:32
Niklas L15-Jun-10 3:32 
AnswerRe: synchronization of variables Pin
Joe Woodbury15-Jun-10 6:17
professionalJoe Woodbury15-Jun-10 6:17 

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.