Click here to Skip to main content
15,922,166 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to find out the size of a structure without using sizeof Pin
CPallini11-Jul-07 3:26
mveCPallini11-Jul-07 3:26 
QuestionRe: How to find out the size of a structure without using sizeof Pin
David Crow11-Jul-07 3:28
David Crow11-Jul-07 3:28 
AnswerRe: How to find out the size of a structure without using sizeof Pin
CPallini11-Jul-07 3:32
mveCPallini11-Jul-07 3:32 
GeneralRe: How to find out the size of a structure without using sizeof Pin
Emmanouil11-Jul-07 3:47
Emmanouil11-Jul-07 3:47 
GeneralRe: How to find out the size of a structure without using sizeof Pin
David Crow11-Jul-07 4:02
David Crow11-Jul-07 4:02 
AnswerRe: How to find out the size of a structure without using sizeof Pin
Bram van Kampen11-Jul-07 15:16
Bram van Kampen11-Jul-07 15:16 
GeneralRe: How to find out the size of a structure without using sizeof Pin
DevMentor.org11-Jul-07 19:11
DevMentor.org11-Jul-07 19:11 
QuestionHelp: Media seek in directshow Pin
liur1711-Jul-07 2:34
liur1711-Jul-07 2:34 
I wrote a program to convert mpeg file to avi in directshow, now the conversion is OK, but I can't find out a method to seek the source media, I want to seek to a given point in source media before the conversion begin. In other words, I want to convert a segment of mpeg file to avi file. The structure of my program is following: 1. Read source mpeg file by using pGraph->AddSourceFilter(...); 2. Init IMediaSeeking, IMediaControl, etc by query pGraph; 3. Setup output avi file and init pMux by using pBuilder->SetOutputFileName(...); 4. Create Mpeg splitter and Mpeg Decoder then add them to pGraph; 5. Connect all filters by using pBuilder->RenderStream(....); 6. Start conversion by using pMediaControl->run(). now the conversion of whole mpeg file is OK, but I can't seek the source media, the pMediaSeeking->SetPositions(...) and GetDuration() function always return fail. I also tried to seek media by pMux but failed. someone can give me instruction to resolve it? thanks in advance.
AnswerRe: Help: Media seek in directshow Pin
Mark Salsbery11-Jul-07 9:13
Mark Salsbery11-Jul-07 9:13 
GeneralRe: Help: Media seek in directshow Pin
liur1711-Jul-07 14:29
liur1711-Jul-07 14:29 
Questionfatal error C1083: Cannot open include file: 'dshow.h': No such file or directory Pin
yaminisridaran11-Jul-07 1:12
yaminisridaran11-Jul-07 1:12 
AnswerRe: fatal error C1083: Cannot open include file: 'dshow.h': No such file or directory Pin
Sam_c11-Jul-07 2:10
Sam_c11-Jul-07 2:10 
GeneralRe: fatal error C1083: Cannot open include file: 'dshow.h': No such file or directory Pin
yaminisridaran11-Jul-07 2:18
yaminisridaran11-Jul-07 2:18 
GeneralRe: fatal error C1083: Cannot open include file: 'dshow.h': No such file or directory Pin
Sam_c11-Jul-07 2:39
Sam_c11-Jul-07 2:39 
GeneralRe: fatal error C1083: Cannot open include file: 'dshow.h': No such file or directory Pin
liur1711-Jul-07 2:41
liur1711-Jul-07 2:41 
AnswerRe: fatal error C1083: Cannot open include file: 'dshow.h': No such file or directory Pin
kdehairy11-Jul-07 2:51
kdehairy11-Jul-07 2:51 
QuestionRe: fatal error C1083: Cannot open include file: 'dshow.h': No such file or directory Pin
David Crow11-Jul-07 3:14
David Crow11-Jul-07 3:14 
AnswerRe: fatal error C1083: Cannot open include file: 'dshow.h': No such file or directory Pin
yaminisridaran11-Jul-07 18:35
yaminisridaran11-Jul-07 18:35 
AnswerRe: fatal error C1083: Cannot open include file: 'dshow.h': No such file or directory Pin
yaminisridaran11-Jul-07 18:39
yaminisridaran11-Jul-07 18:39 
GeneralRe: fatal error C1083: Cannot open include file: 'dshow.h': No such file or directory Pin
Hamid_RT11-Jul-07 19:35
Hamid_RT11-Jul-07 19:35 
AnswerRe: fatal error C1083: Cannot open include file: 'dshow.h': No such file or directory Pin
Mark Salsbery11-Jul-07 9:18
Mark Salsbery11-Jul-07 9:18 
GeneralRe: fatal error C1083: Cannot open include file: 'dshow.h': No such file or directory Pin
yaminisridaran11-Jul-07 18:30
yaminisridaran11-Jul-07 18:30 
QuestionStoring a Refrence in a Tag Pin
InOut.NET11-Jul-07 0:23
InOut.NET11-Jul-07 0:23 
AnswerRe: Storing a Refrence in a Tag Pin
InOut.NET11-Jul-07 2:44
InOut.NET11-Jul-07 2:44 
GeneralRe: Storing a Refrence in a Tag Pin
CPallini11-Jul-07 3:38
mveCPallini11-Jul-07 3:38 

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.