Click here to Skip to main content
15,922,145 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralFile Operation (Read, Write etc..) monitoring system Pin
e_prabhu26-Jun-05 23:15
e_prabhu26-Jun-05 23:15 
GeneralRe: evolutionry artificial neural network (neural network with genetic algorithm) Pin
Christian Graus26-Jun-05 19:55
protectorChristian Graus26-Jun-05 19:55 
GeneralParameter passing between Managed C++ and C#.NET Pin
wdli24-Jun-05 13:52
wdli24-Jun-05 13:52 
GeneralPen-and-ink filter code Pin
Member 176365723-Jun-05 3:51
Member 176365723-Jun-05 3:51 
GeneralRe: Pen-and-ink filter code Pin
Christian Graus23-Jun-05 18:28
protectorChristian Graus23-Jun-05 18:28 
QuestionMulti-langauge DLLs??? Pin
richiemac23-Jun-05 3:25
richiemac23-Jun-05 3:25 
QuestionHow can I use the standard J# library in a Managed C++ app? Pin
bad_muko23-Jun-05 1:09
bad_muko23-Jun-05 1:09 
GeneralDirectShow Renderer connection problems. Not using CaptureGraphBuilder Pin
CVertex21-Jun-05 18:10
CVertex21-Jun-05 18:10 
Hi,

I'm trying to build a simple Preview graph application with a GUI made in C# accessing a Managed C++ DLL which contains classes that manage the DirectShow objects.

I can't see how the MC++ DLL itself could be causing isssues, but I could be wrong.

The problem I'm having is trying to connect the audio and video decoders into the "DirectSound Default Renderer" and "Video Renderer" respectively using the WinTV PVR 150.

When I try to connect the decoders to the renderers (audio or video) I get the HResult, 80040217. I can "manually" connect the filters in GraphEdit if I save the graph immediately before the failure in code. What does GraphEdit do differently when connecting to the renderers?

I could not get CaptureGraphBuilder to work with the PVR150 (as there is no preview pin on the PVR150s filter) so I have to programmatically connecting the renderers using GraphBuilder->Connect(). However, using CaptureGraphBuilder2 I was able to successfully build/run a preview graph using an Osprey 210 capture card using the same application.

How come I cannot programmatically connect the decoders to the renderers??

I've looked over many other renderer samples and they all use shortcuts like RenderFile and Render(), but no code I've seen connects it like I do.

My code is available at www.damiendonnelly.com/cv/rendererissues.zip.


-CVertex
QuestionHow can i keep zeros infornt of an int? Pin
Lagwagon5621-Jun-05 10:54
Lagwagon5621-Jun-05 10:54 
AnswerRe: How can i keep zeros infornt of an int? Pin
Christian Graus21-Jun-05 13:57
protectorChristian Graus21-Jun-05 13:57 
QuestionManaged Class Wrapper around Native class question? Pin
Bart-Man20-Jun-05 7:05
Bart-Man20-Jun-05 7:05 
QuestionArray of a __gc class? Pin
Hmmkk19-Jun-05 23:56
Hmmkk19-Jun-05 23:56 
AnswerRe: Array of a __gc class? Pin
Saksida Bojan25-Jun-05 9:14
Saksida Bojan25-Jun-05 9:14 
GeneralUsing Context Free Grammers Pin
fordge19-Jun-05 22:06
fordge19-Jun-05 22:06 
QuestionConsole::WriteLine(S"Hello World"); ? Pin
...---...18-Jun-05 16:26
...---...18-Jun-05 16:26 
AnswerRe: Console::WriteLine(S"Hello World"); ? Pin
Hmmkk19-Jun-05 23:52
Hmmkk19-Jun-05 23:52 
GeneralRe: Console::WriteLine(S"Hello World"); ? Pin
Anonymous20-Jun-05 7:09
Anonymous20-Jun-05 7:09 
GeneralC++ data strucures..help needed Pin
Member 205623318-Jun-05 14:53
Member 205623318-Jun-05 14:53 
GeneralRe: C++ data strucures..help needed Pin
toxcct20-Jun-05 5:59
toxcct20-Jun-05 5:59 
GeneralHelp: change the 'Resource File Name' property Pin
Qwick Miller18-Jun-05 13:22
Qwick Miller18-Jun-05 13:22 
GeneralRe: Help: change the 'Resource File Name' property Pin
Saksida Bojan27-Jun-05 10:06
Saksida Bojan27-Jun-05 10:06 
GeneralImage Processing Pin
usbah18-Jun-05 0:06
usbah18-Jun-05 0:06 
GeneralCreating Multi-Dimensional Controls Pin
Hmmkk17-Jun-05 1:21
Hmmkk17-Jun-05 1:21 
GeneralRe: Creating Multi-Dimensional Controls Pin
Hmmkk17-Jun-05 7:15
Hmmkk17-Jun-05 7:15 
GeneralManaged C++ DLL that uses DirectShow Pin
CVertex16-Jun-05 17:34
CVertex16-Jun-05 17:34 

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.