Click here to Skip to main content
15,895,667 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need Help: How do I assign a Char* To System::String ^ Pin
Saurabh.Garg21-Nov-08 16:43
Saurabh.Garg21-Nov-08 16:43 
GeneralRe: Need Help: How do I assign a Char* To System::String ^ Pin
niiAmoo21-Nov-08 20:47
niiAmoo21-Nov-08 20:47 
GeneralRe: Need Help: How do I assign a Char* To System::String ^ Pin
Saurabh.Garg22-Nov-08 3:16
Saurabh.Garg22-Nov-08 3:16 
QuestionApp depending on wrong DLL version Pin
KellyR21-Nov-08 10:45
KellyR21-Nov-08 10:45 
AnswerRe: App depending on wrong DLL version Pin
Randor 22-Nov-08 0:26
professional Randor 22-Nov-08 0:26 
QuestionSerialization and schema numbers Pin
softwaremonkey21-Nov-08 5:41
softwaremonkey21-Nov-08 5:41 
QuestionRe: Serialization and schema numbers Pin
Mark Salsbery21-Nov-08 6:13
Mark Salsbery21-Nov-08 6:13 
QuestionAVI frame grabber – needs timer, why? [modified] SOLVED Pin
Vaclav_21-Nov-08 5:08
Vaclav_21-Nov-08 5:08 
Could someone familiar with AVI please explain to me why I need to run a timer to execute AVI procedure callback?

In CView derived class I successfuky create (class.Create) AVI frame grabber ( in OnInitialUpdate). In Create I successfuky execute capSetCallbackOnFrame - passing callback procedure.

This procedure will not execute unless I set a timer during the frame creation.
( My is set to 1 ms.)

I have read the documentation and it does not say anything about any delay necessary after the capSetCallbackOnFrame is executed during the frame setup.
Thanks for reading.
Any constructive comments are appreciated.
Cheers Vaclav


Addendum:
It is getting even more confusing - the callback procedure runs after
capGrabFrameNoStop is executed - in my timer function.
I thought that capSetCallbackOnFrame does the "calling" of the callback procedure.
Back to reading documentation.

And the documetation saiz - there is a difference between CAPSTATUS and CAPTUREPARMS !

<div class="ForumMod">modified on Monday, November 24, 2008 11:35 AM</div>
AnswerRe: AVI frame grabber – needs timer, why? Pin
Mark Salsbery21-Nov-08 6:54
Mark Salsbery21-Nov-08 6:54 
GeneralRe: AVI frame grabber – needs timer, why? Pin
Vaclav_23-Nov-08 5:48
Vaclav_23-Nov-08 5:48 
QuestionUser-defined objects in Windows message parameters Pin
Atropus21-Nov-08 3:50
Atropus21-Nov-08 3:50 
AnswerRe: User-defined objects in Windows message parameters Pin
Matthew Faithfull21-Nov-08 4:00
Matthew Faithfull21-Nov-08 4:00 
AnswerRe: User-defined objects in Windows message parameters Pin
Rajasekharan Vengalil21-Nov-08 5:31
Rajasekharan Vengalil21-Nov-08 5:31 
AnswerRe: User-defined objects in Windows message parameters Pin
Roger Stoltz21-Nov-08 5:56
Roger Stoltz21-Nov-08 5:56 
QuestionSimple CFileDialog Question Pin
sabdalla8021-Nov-08 2:59
sabdalla8021-Nov-08 2:59 
QuestionRe: Simple CFileDialog Question Pin
David Crow21-Nov-08 3:05
David Crow21-Nov-08 3:05 
AnswerRe: Simple CFileDialog Question Pin
sabdalla8021-Nov-08 3:32
sabdalla8021-Nov-08 3:32 
GeneralRe: Simple CFileDialog Question Pin
Rajasekharan Vengalil21-Nov-08 5:34
Rajasekharan Vengalil21-Nov-08 5:34 
GeneralRe: Simple CFileDialog Question Pin
sabdalla8021-Nov-08 6:01
sabdalla8021-Nov-08 6:01 
GeneralRe: Simple CFileDialog Question Pin
Rajasekharan Vengalil21-Nov-08 6:12
Rajasekharan Vengalil21-Nov-08 6:12 
QuestionDate greater than 2038 Pin
s@tish21-Nov-08 1:15
s@tish21-Nov-08 1:15 
AnswerRe: Date greater than 2038 Pin
Nibu babu thomas21-Nov-08 1:24
Nibu babu thomas21-Nov-08 1:24 
AnswerRe: Date greater than 2038 Pin
_AnsHUMAN_ 21-Nov-08 1:24
_AnsHUMAN_ 21-Nov-08 1:24 
QuestionLPBYTE to CString Pin
cpvc++21-Nov-08 1:12
cpvc++21-Nov-08 1:12 
AnswerRe: LPBYTE to CString Pin
Nibu babu thomas21-Nov-08 1:27
Nibu babu thomas21-Nov-08 1:27 

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.