Click here to Skip to main content
15,911,786 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Did I Miss Something Here... Pin
markkuk27-Aug-02 5:41
markkuk27-Aug-02 5:41 
GeneralRe: Did I Miss Something Here... Pin
Roger Allen27-Aug-02 6:11
Roger Allen27-Aug-02 6:11 
QuestionChoosing the best view? Pin
kc5zrs27-Aug-02 4:42
kc5zrs27-Aug-02 4:42 
AnswerRe: Choosing the best view? Pin
Tomasz Sowinski27-Aug-02 4:51
Tomasz Sowinski27-Aug-02 4:51 
GeneralFiguring out someone else's program Pin
Like2Byte27-Aug-02 4:14
Like2Byte27-Aug-02 4:14 
GeneralRe: Figuring out someone else's program Pin
Tomasz Sowinski27-Aug-02 4:20
Tomasz Sowinski27-Aug-02 4:20 
GeneralRe: Figuring out someone else's program Pin
Like2Byte27-Aug-02 4:35
Like2Byte27-Aug-02 4:35 
QuestionHow to speed up from DDB to DIB?Emergency Pin
csqlhy27-Aug-02 4:14
csqlhy27-Aug-02 4:14 
Dear,

I meet a problem to speed up the function from DDB to DIB.

The program I write is to read the wave data from the
data files, then output the wave drawing by BMP files.
And the BMP files may output 8bit, 16bits, 24bits,
32bits.

so, we design it as following,

1. From data file to draw wave
(not need display in screen, draw
draw in Memory DC is OK.
We need create a CBitmap, then use Memory DC
to draw in the CBitmap)

2. Then write them to bitmap files.

So, as you know, we should use GetDibits() function to transfer
from DDB to DIB. But I find that GetDibits() function use much
time, and it cause the reason of the bottleneck of my program.
Because I must speed up my program, I look for your help.

Can you tell me how to speed up the function from DDB to DIB?
Is any other function can substitute the GetDibits() function to
transfer from DDB to DIB?
Or our project design is too complicated, can use other
easy and fast method to complete?

Welcome any suggestion!

Best Regards,
AnswerRe: How to speed up from DDB to DIB?Emergency Pin
Tomasz Sowinski27-Aug-02 4:18
Tomasz Sowinski27-Aug-02 4:18 
GeneralThrowing an exception from a constructor Pin
Le centriste27-Aug-02 3:57
Le centriste27-Aug-02 3:57 
GeneralRe: Throwing an exception from a constructor Pin
Tomasz Sowinski27-Aug-02 4:02
Tomasz Sowinski27-Aug-02 4:02 
GeneralSys Tray icon behavior Pin
Mike Fenske27-Aug-02 3:39
Mike Fenske27-Aug-02 3:39 
GeneralRe: Sys Tray icon behavior Pin
Todd Smith27-Aug-02 9:02
Todd Smith27-Aug-02 9:02 
GeneralSending mails using MAPI... Pin
Neha27-Aug-02 2:54
Neha27-Aug-02 2:54 
GeneralRe: Sending mails using MAPI... Pin
Michael P Butler27-Aug-02 3:18
Michael P Butler27-Aug-02 3:18 
GeneralTask bar Pin
suresh_sathya27-Aug-02 2:54
suresh_sathya27-Aug-02 2:54 
GeneralRe: Task bar Pin
User 665827-Aug-02 3:05
User 665827-Aug-02 3:05 
GeneralRe: Task bar Pin
Rickard Andersson2027-Aug-02 4:31
Rickard Andersson2027-Aug-02 4:31 
GeneralRe: Task bar Pin
User 665827-Aug-02 6:58
User 665827-Aug-02 6:58 
GeneralRe: Task bar Pin
Tomasz Sowinski27-Aug-02 3:12
Tomasz Sowinski27-Aug-02 3:12 
GeneralUrgent CStringArray help needed Pin
BK Pradeep27-Aug-02 2:34
BK Pradeep27-Aug-02 2:34 
GeneralRe: Urgent CStringArray help needed Pin
Tomasz Sowinski27-Aug-02 2:37
Tomasz Sowinski27-Aug-02 2:37 
GeneralRe: Urgent CStringArray help needed Pin
BK Pradeep27-Aug-02 2:49
BK Pradeep27-Aug-02 2:49 
GeneralRe: Urgent CStringArray help needed Pin
Tomasz Sowinski27-Aug-02 2:52
Tomasz Sowinski27-Aug-02 2:52 
GeneralRe: Urgent CStringArray help needed Pin
BK Pradeep27-Aug-02 3:01
BK Pradeep27-Aug-02 3:01 

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.