|
-
April 6th, 2009, 05:12 AM
#1
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
-
April 6th, 2009, 05:38 AM
#2
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.
- Make it run.
- Make it right.
- Make it fast.
Don't hesitate to rate my post. 
-
April 6th, 2009, 09:24 AM
#3
Re: Named Pipes, instance busy error
Ok thanks, i'l have a look at it, and possibly return
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|