dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]<PNET> parameter passing bug ?


From: Gopal.V
Subject: Re: [DotGNU]<PNET> parameter passing bug ?
Date: Sat, 26 Jan 2002 12:06:37 +0530
User-agent: Mutt/1.2.5i

If memory serves me right, Rhys Weatherley wrote:
> This should have given an error, but didn't (I'll chase down
> why this is the case).  Add "static" to the declaration of
> "test1" and it will work.  Either that or create an instance
> of the class using "new" and call "test1" on that.
>
    Ok, but the first place I encountered the exception was not 
in the afore mentioned test case. It was in the CGI program. 
Code attatched. Testing it might reveal a *new* bug........
How many times should the "what kind....." message print 
with the following code ? Once, right..but it prints until 
the stack overflows .....(509 times). In a seperate test case, 
this error never happens. So I'm sending you my whole code 
hoping that the error is repeatable.

    The ReadRequest *is* not a static method and is called
from an instance "req" of WebRequest. But still the function
"this.ParseQuery" fails !. "MissingMethodException". If 
ParseQuery is rewritten to have no params, the program runs
fine.

Gopal.V

PS: Also my C# is *very* poor, so if anybody sees a programming
    mistake in my code, they are *welcome* to mail me about that.
    Coz that's the way I learn things.
-- 
 The difference between insanity and genius is only measured by success
 //===<=>===\\
|| GNU RULEZ ||
 \\===<=>===//

Attachment: pnetcgi.cs
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]