Named Pipes, instance busy error
Hi gurus.
i'm trying to use a named pipe instead of a file in a c# app:
the c# app is expected to act as a client. and i have a c++ app running as server.
the c# app original expected a file name to read data, which was currently replaced by a pipe as in
Code:
FilterGraph = new FilgraphManager();
try
{
m_FilterGraph .RenderFile( PIPE_NAME );
}
(this is a directshow app to play back avi file, do you expect this to work ?)
This function throws "all pipe instances are busy".
Is there any workarounds, help..
thanks in advance
Re: Named Pipes, instance busy error
I think you shall use NamedPipeClientStream created over the PIPE_NAME, but I don't know how to pass it to RenderFile.
Re: Named Pipes, instance busy error
Ok thanks, i'l have a look at it, and possibly return ;)