Re: Help writing a new filter
- From: xbunny <xbunny@xxxxxxxxxxxxxx>
- Date: Sat, 27 May 2006 19:06:18 GMT
emetress wrote:
I'm just saying that I'm having errors that I can't fix. And when I fix
it some days later then I get another error and I have to ask here
again and for have a minimum possibility for an easy piece of code
working I have to be writing and fixing 1 month ... I think that maybe
someone in 5 minutes can fix all the errors I get and I don't know how
to solve.
The problem with this approach is that if you rely on someone else to fix all your errors you havent learnt how to fix them yourself. Its vital you learn how to overcome these problems yourself or you will always be limited by them. Consider your problem below, if we just told you the correct syntax for the array declaration you require and you didnt bother to learn about c# syntax then every single c# syntax error you ever got would result in a newsgroup post. This would be completely tedious for both you and the newsgroup.
But if you find that not allright it's ok.
I have the following errors:
D:\Alex\curro\Directshow\entender
filtros\CsSobelV2\MySobelV2\MySobel.cs(193,21): error CS0650: Syntax
error, bad array declarator. To declare a managed array the rank
specifier precedes the variable's identifier. To declare a fixed size
buffer field, use the fixed keyword before the field type.
in this line (I want to declare an array of 9 elements of type int):
int* buffer_mdn [9];
When I fix this I will post more errors.
Thank you
The answer is right there in the error message. Your syntax is wrong. One place to learn the correct syntax would be the the c# programming reference or maybe a book on c# within that you can learn how to declare your array using the correct syntax.
Bunny
PS: this newsgroup is about DirectShow programming not about c# syntax, learning to post problems in the appropriate newsgroup would be sensible to.
.
- References:
- Help writing a new filter
- From: emetress
- Re: Help writing a new filter
- From: xbunny
- Re: Help writing a new filter
- From: emetress
- Re: Help writing a new filter
- From: xbunny
- Re: Help writing a new filter
- From: emetress
- Re: Help writing a new filter
- From: xbunny
- Re: Help writing a new filter
- From: emetress
- Re: Help writing a new filter
- From: xbunny
- Re: Help writing a new filter
- From: emetress
- Help writing a new filter
- Prev by Date: WIA compiled code doesn't show dialog
- Next by Date: WinTv File Reader filter
- Previous by thread: Re: Help writing a new filter
- Next by thread: Re: Video Renderers
- Index(es):
Relevant Pages
|
Loading