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

Managed C++/CLI

 
GeneralRe: Header in namespace Pin
piwi1338-Oct-08 22:39
piwi1338-Oct-08 22:39 
GeneralRe: Header in namespace Pin
Mark Salsbery9-Oct-08 5:06
Mark Salsbery9-Oct-08 5:06 
QuestionVisual c++ Net Designer Class disapear [modified] Pin
mikobi7-Oct-08 3:11
mikobi7-Oct-08 3:11 
AnswerRe: Visual c++ Net Designer Class disapear Pin
dybs10-Oct-08 18:56
dybs10-Oct-08 18:56 
GeneralRe: Visual c++ Net Designer Class disapear Pin
mikobi12-Oct-08 19:39
mikobi12-Oct-08 19:39 
AnswerRe: Visual c++ Net Designer Class disapear Pin
leonigah18-Dec-08 22:53
leonigah18-Dec-08 22:53 
AnswerRe: Visual c++ Net Designer Class disapear Pin
Dirkus Maximus18-Feb-10 18:16
Dirkus Maximus18-Feb-10 18:16 
QuestionCan't deliver MediaSample to two different output pins - Directshow problem Pin
itchy237-Oct-08 2:13
itchy237-Oct-08 2:13 
I'm writing a transformfilter with 1 input and 2 output pins. I've derived my Transformfilter from CBaseFilter and the pins from CBaseInputPin and CBaseOutputPin. I'm pretty sure my Filter works because if I've only 1 Pin the sample process how it should, but if I add the second output pin the video stops with the first sample on one window a shows nothing on the second window.

When I debug the second time i call GetDeliveryBuffer i get the error code -2147220975.

Here is what i did in the method Receive:

hr = pOutputPin1->GetDeliveryBuffer(&pOutSample1, NULL, NULL, 0);
hr = Copy(pSample, pOutSample1);
hr = Transform1(pSample, pOutSample1);
hr = pOutputPin1->Deliver(pOutSample1);
pOutSample1->Release();

hr = pOutputPin2->GetDeliveryBuffer(&pOutSample2, NULL, NULL, 0);
hr = Copy(pSample, pOutSample2);
hr = Transform2(pSample, pOutSample2);
hr = pOutputPin2->Deliver(pOutSample2);
pOutSample2->Release();

What am i doing wrong?
AnswerRe: Can't deliver MediaSample to two different output pins - Directshow problem Pin
Mark Salsbery7-Oct-08 4:36
Mark Salsbery7-Oct-08 4:36 
AnswerRe: Can't deliver MediaSample to two different output pins - Directshow problem Pin
Mark Salsbery9-Oct-08 8:25
Mark Salsbery9-Oct-08 8:25 
GeneralRe: Can't deliver MediaSample to two different output pins - Directshow problem Pin
itchy239-Oct-08 21:09
itchy239-Oct-08 21:09 
QuestionEvent handling in C Pin
massaslayer6-Oct-08 4:39
massaslayer6-Oct-08 4:39 
AnswerRe: Event handling in C Pin
Mark Salsbery6-Oct-08 6:26
Mark Salsbery6-Oct-08 6:26 
QuestionProgram too big to fit in memory Pin
Cyrilix3-Oct-08 10:57
Cyrilix3-Oct-08 10:57 
AnswerRe: Program too big to fit in memory Pin
Cyrilix3-Oct-08 13:00
Cyrilix3-Oct-08 13:00 
GeneralRe: Program too big to fit in memory Pin
Mark Salsbery3-Oct-08 14:49
Mark Salsbery3-Oct-08 14:49 
GeneralRe: Program too big to fit in memory Pin
Cyrilix3-Oct-08 21:44
Cyrilix3-Oct-08 21:44 
GeneralRe: Program too big to fit in memory Pin
Mark Salsbery4-Oct-08 7:13
Mark Salsbery4-Oct-08 7:13 
GeneralRe: Program too big to fit in memory Pin
Cyrilix4-Oct-08 8:45
Cyrilix4-Oct-08 8:45 
AnswerRe: Program too big to fit in memory Pin
Mark Salsbery4-Oct-08 7:24
Mark Salsbery4-Oct-08 7:24 
GeneralRe: Program too big to fit in memory Pin
Cyrilix4-Oct-08 8:46
Cyrilix4-Oct-08 8:46 
QuestionString conversion in c++/CLI Pin
Robin Imrie1-Oct-08 4:05
professionalRobin Imrie1-Oct-08 4:05 
AnswerRe: String conversion in c++/CLI Pin
led mike1-Oct-08 4:36
led mike1-Oct-08 4:36 
GeneralRe: String conversion in c++/CLI Pin
Robin Imrie1-Oct-08 4:45
professionalRobin Imrie1-Oct-08 4:45 
Questiongtk installation Pin
SeshaSridhar1-Oct-08 1:00
SeshaSridhar1-Oct-08 1:00 

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.