Click here to Skip to main content
15,797,052 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Why "so many " - include , forward declaration... Pin
Richard MacCutchan14-Jan-23 23:25
mveRichard MacCutchan14-Jan-23 23:25 
AnswerRe: Why "so many " - include , forward declaration... Pin
jschell15-Jan-23 9:00
jschell15-Jan-23 9:00 
GeneralMessage Closed Pin
15-Jan-23 17:56
Member 1496877115-Jan-23 17:56 
GeneralRe: Why "so many " - include , forward declaration... Pin
jschell17-Jan-23 4:33
jschell17-Jan-23 4:33 
QuestionCRichEditCtrl size limit Pin
ForNow11-Jan-23 16:22
ForNow11-Jan-23 16:22 
AnswerRe: CRichEditCtrl size limit Pin
Mircea Neacsu11-Jan-23 16:47
Mircea Neacsu11-Jan-23 16:47 
GeneralRe: CRichEditCtrl size limit Pin
ForNow11-Jan-23 16:48
ForNow11-Jan-23 16:48 
QuestionBitmaps, device dependent vs device independent, which is faster (or better)? Pin
Member 1507871611-Jan-23 11:57
Member 1507871611-Jan-23 11:57 
I am working at blitting to back frame buffers a changing variety of bitmaps to create animations. When completed, that would be sent to the screen. I want to do this with minimum processing and minimum RAM.

Svetoslav Chekanov, on another page Fast 2:1 Image Shrink (Scale Down)[^] said,
Quote:
Device dependent format is blitted faster to the screen.

I did not know that. I have been using Device Independent because it seemed to be easier to work with. I will now consider this Dependent vs Independent.

I found a discussion with some interesting observations. C++ Windows API: Is there any alternative of the SetDIBits for device-dependent Bitmap?[^] In that I found:
Quote:
The difference is insignificant, more than swamped by the time it takes to
copy the bitmap to the frame buffer.
May I have some feedback on this "is insignificant" comment (from the Windows API link) if it is correct or not?

I also read on that page,
Quote:
In a DIB, each scanline is always a multiple of 4 bytes. In a 24-bit DIB,
that means you will have extra padding bytes unless the width is a multiple
of 4.
I did not know that. I will now have that to consider.

Looking forward to learning more about this.
AnswerRe: Bitmaps, device dependent vs device independent, which is faster (or better)? Pin
CPallini11-Jan-23 21:43
mveCPallini11-Jan-23 21:43 
Questionwhat I am doing regarding Heap corruption Pin
ForNow10-Jan-23 16:33
ForNow10-Jan-23 16:33 
AnswerRe: what I am doing regarding Heap corruption Pin
CPallini10-Jan-23 21:08
mveCPallini10-Jan-23 21:08 
GeneralRe: what I am doing regarding Heap corruption Pin
ForNow11-Jan-23 2:33
ForNow11-Jan-23 2:33 
GeneralRe: what I am doing regarding Heap corruption Pin
CPallini11-Jan-23 2:40
mveCPallini11-Jan-23 2:40 
GeneralRe: what I am doing regarding Heap corruption Pin
Mircea Neacsu11-Jan-23 8:04
Mircea Neacsu11-Jan-23 8:04 
GeneralRe: what I am doing regarding Heap corruption Pin
ForNow11-Jan-23 8:25
ForNow11-Jan-23 8:25 
QuestionHeap Storage Corruption Pin
ForNow10-Jan-23 4:44
ForNow10-Jan-23 4:44 
AnswerRe: Heap Storage Corruption Pin
Victor Nijegorodov10-Jan-23 6:08
Victor Nijegorodov10-Jan-23 6:08 
GeneralRe: Heap Storage Corruption Pin
ForNow10-Jan-23 6:25
ForNow10-Jan-23 6:25 
GeneralRe: Heap Storage Corruption Pin
k505410-Jan-23 7:17
mvek505410-Jan-23 7:17 
AnswerRe: Heap Storage Corruption Pin
Graham Breach10-Jan-23 7:22
Graham Breach10-Jan-23 7:22 
GeneralRe: Heap Storage Corruption Pin
ForNow10-Jan-23 7:44
ForNow10-Jan-23 7:44 
GeneralRe: Heap Storage Corruption Pin
Graham Breach10-Jan-23 7:51
Graham Breach10-Jan-23 7:51 
AnswerRe: Heap Storage Corruption Pin
CPallini10-Jan-23 8:21
mveCPallini10-Jan-23 8:21 
GeneralRe: Heap Storage Corruption Pin
ForNow10-Jan-23 8:26
ForNow10-Jan-23 8:26 
GeneralRe: Heap Storage Corruption Pin
CPallini10-Jan-23 8:40
mveCPallini10-Jan-23 8:40 

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.