Click here to Skip to main content
15,900,724 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralShellExecuteEx multiple selection Pin
Aviv Halperin18-Feb-04 23:04
Aviv Halperin18-Feb-04 23:04 
GeneralPush Buttons Pin
ffazly18-Feb-04 21:31
ffazly18-Feb-04 21:31 
GeneralRe: Push Buttons Pin
P-Rex18-Feb-04 22:30
P-Rex18-Feb-04 22:30 
GeneralRe: Push Buttons Pin
ffazly19-Feb-04 19:25
ffazly19-Feb-04 19:25 
GeneralRtf editor in a dialog based app Pin
Filomela18-Feb-04 21:15
Filomela18-Feb-04 21:15 
GeneralSerial Communication - Laptop and PDA Pin
Deepa Gopal18-Feb-04 20:47
Deepa Gopal18-Feb-04 20:47 
GeneralRe: Serial Communication - Laptop and PDA Pin
J.B.19-Feb-04 3:39
J.B.19-Feb-04 3:39 
GeneralCalculate file size while creating avi video Pin
oliverlin18-Feb-04 20:31
oliverlin18-Feb-04 20:31 
hi everyone,

I have a question here and need your help.

I'am writing an program to capture screen real time and by which to generate avi video.

My problem is that I want to get the size of the avi file while writing new frames into it, in order that the user can have an clear idea about how the process is going (the current size of the avi file).

Since the avi file is being opened and written that I can not get a handle to the avi file by "CreateFile" and use it in "GetFileSize".

I think maybe I should calculate the approximate avi file size by "frame size * frame number". But because the avi file maybe in compressed format that I don't know how to decide the size of a frame.

Moreover, if one particular frame is being repeated 100 times in the avi file should I count it for one time or for 100 times ?

Anyway, any information about calculate avi file size while creating it is appreciated.

Thanking you in advance.
Smile | :)

------------------
Memory either forgets things when you don't want it to, or remembers things long after they're better forgotten.
GeneralCan anyone help me ? Pin
oliverlin19-Feb-04 15:30
oliverlin19-Feb-04 15:30 
GeneralNeed help with C++ vs C# resource problem Pin
Matt Philmon18-Feb-04 19:32
Matt Philmon18-Feb-04 19:32 
GeneralApplication Priority - when minimized Pin
krithika_Ramanujam18-Feb-04 19:21
krithika_Ramanujam18-Feb-04 19:21 
Questionneed sql query? Pin
murali_utr18-Feb-04 18:48
murali_utr18-Feb-04 18:48 
AnswerRe: need sql query? Pin
22491719-Feb-04 0:49
22491719-Feb-04 0:49 
GeneralEdit Control - Word Wrap Pin
monrobot1318-Feb-04 17:53
monrobot1318-Feb-04 17:53 
GeneralRe: Edit Control - Word Wrap Pin
Paul Hooper18-Feb-04 21:38
Paul Hooper18-Feb-04 21:38 
GeneralRe: Edit Control - Word Wrap Pin
monrobot1320-Feb-04 7:03
monrobot1320-Feb-04 7:03 
GeneralCommunication with Splitters Pin
telstar18-Feb-04 17:30
telstar18-Feb-04 17:30 
Generalclistbox greying Pin
SVPG18-Feb-04 17:02
SVPG18-Feb-04 17:02 
GeneralRe: clistbox greying Pin
sps-itsec4619-Feb-04 3:20
sps-itsec4619-Feb-04 3:20 
Generaluse a dll to link 2 diff Static Lib Pin
braderbear18-Feb-04 16:59
braderbear18-Feb-04 16:59 
GeneralRe: use a dll to link 2 diff Static Lib Pin
Prakash Nadar18-Feb-04 19:11
Prakash Nadar18-Feb-04 19:11 
GeneralComboBox display problem on Windows 98 Pin
J.B.18-Feb-04 16:25
J.B.18-Feb-04 16:25 
GeneralRe: ComboBox display problem on Windows 98 Pin
krithika_Ramanujam18-Feb-04 19:48
krithika_Ramanujam18-Feb-04 19:48 
GeneralRe: ComboBox display problem on Windows 98 Pin
J.B.19-Feb-04 3:04
J.B.19-Feb-04 3:04 
GeneralRe: ComboBox display problem on Windows 98 Pin
Michael Dunn19-Feb-04 4:44
sitebuilderMichael Dunn19-Feb-04 4:44 

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.