Click here to Skip to main content
15,908,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Enable lan connection for win7 using INetConnection Pin
Richard MacCutchan2-Nov-10 9:30
mveRichard MacCutchan2-Nov-10 9:30 
GeneralRe: Enable lan connection for win7 using INetConnection Pin
manojsaxena_mca2-Nov-10 22:27
manojsaxena_mca2-Nov-10 22:27 
GeneralRe: Enable lan connection for win7 using INetConnection Pin
Richard MacCutchan3-Nov-10 4:37
mveRichard MacCutchan3-Nov-10 4:37 
QuestionShellExecute Pin
john563222-Oct-10 1:57
john563222-Oct-10 1:57 
AnswerRe: ShellExecute Pin
Nish Nishant22-Oct-10 2:05
sitebuilderNish Nishant22-Oct-10 2:05 
AnswerRe: ShellExecute Pin
Sauro Viti22-Oct-10 2:09
professionalSauro Viti22-Oct-10 2:09 
GeneralRe: ShellExecute Pin
john563222-Oct-10 2:30
john563222-Oct-10 2:30 
GeneralRe: ShellExecute Pin
David Crow22-Oct-10 2:52
David Crow22-Oct-10 2:52 
GeneralRe: ShellExecute Pin
Code-o-mat22-Oct-10 3:07
Code-o-mat22-Oct-10 3:07 
GeneralRe: ShellExecute Pin
john563222-Oct-10 3:12
john563222-Oct-10 3:12 
GeneralRe: ShellExecute Pin
Code-o-mat22-Oct-10 3:20
Code-o-mat22-Oct-10 3:20 
GeneralRe: ShellExecute Pin
john563222-Oct-10 3:57
john563222-Oct-10 3:57 
GeneralRe: ShellExecute Pin
Code-o-mat22-Oct-10 4:01
Code-o-mat22-Oct-10 4:01 
GeneralRe: ShellExecute Pin
john563222-Oct-10 4:03
john563222-Oct-10 4:03 
GeneralRe: ShellExecute Pin
Code-o-mat22-Oct-10 4:11
Code-o-mat22-Oct-10 4:11 
GeneralRe: ShellExecute Pin
john563222-Oct-10 5:46
john563222-Oct-10 5:46 
GeneralRe: ShellExecute [modified] Pin
Code-o-mat22-Oct-10 7:42
Code-o-mat22-Oct-10 7:42 
AnswerRe: ShellExecute Pin
GAJERA22-Oct-10 4:33
GAJERA22-Oct-10 4:33 
QuestionFailed to play .mpg file with directshow Pin
Chesnokov Yuriy21-Oct-10 22:53
professionalChesnokov Yuriy21-Oct-10 22:53 
AnswerRe: Failed to play .mpg file with directshow Pin
Sauro Viti22-Oct-10 1:07
professionalSauro Viti22-Oct-10 1:07 
That HRESULT value stays for E_FAIL which has no more specific details. Have a look at the documentation of ICaptureGraphBuilder2::RenderStream[^] on the MSDN; on the remarks section there are 2 sentences that could help you:


  • If pSource is a filter, the method searches for an output pin on that filter. In that case, use the pCategory and pType parameters to narrow the search. For example, if a filter has separate pins for preview and capture, you can specify either PIN_CATEGORY_CAPTURE or PIN_CATEGORY_PREVIEW. If pSource is an output pin, set the pCategory and pType to NULL.
  • File Sources. You can use this method to transcode or recompress a file. The following discussion assumes that the file has at most one video stream and one audio stream, or else a single interleaved stream. Otherwise, the method will not work correctly. A file source has one output pin, so set pCategory and pType to NULL. Call the method twice — once to render the video stream, and once to render the audio stream. The first call connects the source filter to a parser filter and renders one of the parser filter's output pins. The second call renders the parser's remaining output pin. If you are compressing one stream but not the other, make sure to specify the compressor filter in the first call. The method will automatically pick the correct stream based on the compression type.

QuestionRe: Failed to play .mpg file with directshow Pin
Chesnokov Yuriy22-Oct-10 1:51
professionalChesnokov Yuriy22-Oct-10 1:51 
AnswerRe: Failed to play .mpg file with directshow Pin
Sauro Viti22-Oct-10 2:01
professionalSauro Viti22-Oct-10 2:01 
QuestionRe: Failed to play .mpg file with directshow Pin
Chesnokov Yuriy22-Oct-10 2:05
professionalChesnokov Yuriy22-Oct-10 2:05 
AnswerRe: Failed to play .mpg file with directshow Pin
Chesnokov Yuriy22-Oct-10 2:03
professionalChesnokov Yuriy22-Oct-10 2:03 
GeneralRe: Failed to play .mpg file with directshow Pin
Sauro Viti22-Oct-10 2:17
professionalSauro Viti22-Oct-10 2:17 

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.