C++/VB - What is error 0x8007007B "The filename, directory name, or volume label syntax is incorrect."

Asked By Bob on 08-Oct-08 07:54 AM
Encountered an exception when trying to run a filtergraph in a capture
app:

0x8007007B "The filename, directory name, or volume label syntax is
incorrect."

I haven't been able to locate any info on this. Anyone know anything
about it?


The March Hare [MVP] replied on 08-Oct-08 08:20 AM
Where is your code snippet?

What is the output path you provide when you get this error?

Follow up set to:  microsoft.public.win32.programmer.directx.video

--
Please read this before replying:
1. Dshow & posting help:  http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others:  follow up if you are helped or you found a solution
Bob replied on 08-Oct-08 09:32 AM
On Wed, 8 Oct 2008 06:20:32 -0600, "The March Hare [MVP]"


It occurs in Filtergraph.Run. Up to that point, there are no errors
flagged, so I'm not sure what code to snip.  I can usually trace
anything that occurs within my own code, but this is in blackbox land.

The error number must be generic, as google searches turn up a variety
of unrelated things.  I was guessing that somewhere within the
filtergraph there must be something file-related, but if you don't
know about it, apparently that's not the case.


That's the mystery--there is nothing relating to 'output path'.  I
don't see anything that would cause an error dealing with "Filename",
so I'm at a loss. I was presuming that it was an odd, but hopefully
known anomaly.


It's actually an audio-related program, but since it deals with the
filtergraph, I had posted to both audio and video.
Greg replied on 08-Oct-08 09:54 AM
It mean you are using a file name with invalid characters in it.  You
cannot use any of these characters in a file name  \ / : * ? " < > |
The March Hare [MVP] replied on 08-Oct-08 02:44 PM
That is something I suspected too.  However the OP claims not to have set a
filename.

--
Please read this before replying:
1. Dshow & posting help:  http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others:  follow up if you are helped or you found a solution
The March Hare [MVP] replied on 08-Oct-08 02:43 PM
Have you not set a capture file?  From your original post, you are creating
a capture graph.


What does the graph you constructed look like?


Details of how you are constructing the graph would be useful (a code
snippet of the graph's construction).


There is generally no need to post to both places since the same set of
people respond in both places.  However, that it is an audio capture graph,
and that you're apparently using a managed layer (DirectShow.NET?), are
useful information to put in your OP.


--
Please read this before replying:
1. Dshow & posting help:  http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others:  follow up if you are helped or you found a solution