Click here to Skip to main content
15,898,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Windows listbox has a resource error? Pin
Anonymous10-Feb-04 8:13
Anonymous10-Feb-04 8:13 
GeneralRe: Windows listbox has a resource error? Pin
Luuk Weltevreden10-Feb-04 8:35
Luuk Weltevreden10-Feb-04 8:35 
GeneralMFC drawing confusion Pin
Madhur Baheti9-Feb-04 23:40
Madhur Baheti9-Feb-04 23:40 
GeneralRe: MFC drawing confusion Pin
CodeBrain10-Feb-04 0:44
CodeBrain10-Feb-04 0:44 
GeneralRe: MFC drawing confusion Pin
Mike Dimmick10-Feb-04 1:01
Mike Dimmick10-Feb-04 1:01 
GeneralRegarding Screen changes Pin
santosh k9-Feb-04 23:17
santosh k9-Feb-04 23:17 
GeneralRe: Regarding Screen changes Pin
Luuk Weltevreden10-Feb-04 0:34
Luuk Weltevreden10-Feb-04 0:34 
GeneralRe: Regarding Screen changes Pin
Luuk Weltevreden10-Feb-04 3:52
Luuk Weltevreden10-Feb-04 3:52 
The best thing you can do in this case I guess is to capture the screen at a static interval. You can do three things (which I can think of atleast Smile | :) ):

1) Just capture the screen at a static interval and write it to the disk as bitmap
2) Capture the screen at a static interval and write it to the disk as a compressed image
3) Capture the screen and compare it to the last to see if it changed and write it to the disk if it didn't (this means that you'll also have to keep a log on how long the same image should be shown)

Depending on the desired framerate and quality of the final movie (and ofcourse speed of the machine) I can't do nothing but suggest you to find the best and fastest way for yourself. They all have disadvantages, the first two being a high I/O and the second a lot of CPU required. The third, well I don't know about performance in the third. It seems like it could be pretty fast compared to the other two, but it's just a hunch Smile | :)

I think though that if you want the best performance this should be done in assembly, especially with method 2 and 3.

And I was just thinking. Suppose you have a resolution of 1024x768, 16 bits and you wish to have a framerate of 24. This means that with method 1 you'll have to write about 40MB/s to the harddisk. It's going to have a very hard time doing that and the harddisk will need quite some space too Smile | :) If I were you I'd try my last suggestion, it sure seems like the most fun suggestion as well Smile | :)
GeneralRegarding Screen changes Pin
santosh k9-Feb-04 23:12
santosh k9-Feb-04 23:12 
GeneralSmall Problem. Pin
Prakash Nadar9-Feb-04 22:26
Prakash Nadar9-Feb-04 22:26 
GeneralRe: Small Problem. Pin
10-Feb-04 1:43
suss10-Feb-04 1:43 
GeneralRe: Small Problem. Pin
Steve S10-Feb-04 1:54
Steve S10-Feb-04 1:54 
GeneralSpreadsheet writing Pin
Ger Hayden9-Feb-04 21:58
Ger Hayden9-Feb-04 21:58 
GeneralRe: Spreadsheet writing Pin
Brian D10-Feb-04 1:46
Brian D10-Feb-04 1:46 
GeneralRe: Spreadsheet writing Pin
David Crow10-Feb-04 3:34
David Crow10-Feb-04 3:34 
GeneralListCtrl Pin
Ger Hayden9-Feb-04 21:57
Ger Hayden9-Feb-04 21:57 
GeneralRe: ListCtrl Pin
David Crow10-Feb-04 3:33
David Crow10-Feb-04 3:33 
GeneralCInternetSession and CHttpConnection. Pin
murali_utr9-Feb-04 20:59
murali_utr9-Feb-04 20:59 
GeneralOverwriting / Deleting of data from file Pin
Kel839-Feb-04 20:42
Kel839-Feb-04 20:42 
GeneralRe: Overwriting / Deleting of data from file Pin
Sebastian Schneider9-Feb-04 22:31
Sebastian Schneider9-Feb-04 22:31 
GeneralRe: Overwriting / Deleting of data from file Pin
Florin Vasilescu10-Feb-04 3:50
Florin Vasilescu10-Feb-04 3:50 
GeneralANSI C compliance Pin
ffazly9-Feb-04 19:55
ffazly9-Feb-04 19:55 
GeneralRe: ANSI C compliance Pin
Andrew Walker9-Feb-04 21:59
Andrew Walker9-Feb-04 21:59 
GeneralRe: ANSI C compliance Pin
Mike Dimmick10-Feb-04 1:04
Mike Dimmick10-Feb-04 1:04 
GeneralLinking dll's Pin
Badut9-Feb-04 19:25
Badut9-Feb-04 19:25 

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.