[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]Status of cscc and Qt#
From: |
Adam Treat |
Subject: |
Re: [DotGNU]Status of cscc and Qt# |
Date: |
Tue, 5 Nov 2002 23:43:34 -0500 |
User-agent: |
KMail/1.4.7 |
On Tuesday 05 November 2002 11:39 pm, Adam Treat wrote:
> Hello All,
>
> The following refers to latest pnet/cscc and Qt#:
>
> <manyoso> ok, so pnet/cscc can compile Qt# with no verification errors
> <manyoso> no errors at all for that matter
> <manyoso> but when i try to run the hello world example i get:
> <manyoso> address@hidden:~/dev/qtsharp/src/examples/samples$ ilrun
> hello.exe <manyoso> Uncaught exception: System.IndexOutOfRangeException: An
> array index was out of range
> <manyoso> at Qt.QtSlot.LookupSlot(QObject, String, String)
>
> Adam
Oops. Here is the method in question:
private static MethodInfo LookupSlot(QObject receiver, string
name, string
args)
{
MethodInfo ret = null;
foreach (MethodInfo info in
receiver.GetType().GetMethods(
BindingFlags.NonPublic | BindingFlags.Public |
BindingFlags.Instance ))
{
string infoargs = "(" + ShortArgs
(info.ToString().Split(new char[]
{'('})[1].Replace(" ", "")) + ")";
string nargs = args.Replace ("string",
"String"); // FIXME
if (nargs.CompareTo(infoargs) == 0 &&
name.CompareTo(info.Name) == 0)
{
ret = info;
break;
}
}
return ret;
}
- [DotGNU]Status of cscc and Qt#, Adam Treat, 2002/11/05
- Re: [DotGNU]Status of cscc and Qt#,
Adam Treat <=
- Message not available
- Message not available
- Re: [DotGNU]Status of cscc and Qt#, Adam Treat, 2002/11/06
- Re: [DotGNU]Status of cscc and Qt#, Adam Treat, 2002/11/06
- Re: [DotGNU]Status of cscc and Qt#, Rhys Weatherley, 2002/11/06
- Re: [DotGNU]Status of cscc and Qt#, Adam Treat, 2002/11/06
- [DotGNU]The Intended usage of GNU software (was Treecc Ruby support), James Michael DuPont, 2002/11/06
- [DotGNU]Re: The Intended usage of GNU software (was Treecc Ruby support), Rhys Weatherley, 2002/11/06
- [DotGNU]Re: The Intended usage of GNU software (was Treecc Ruby support), James Michael DuPont, 2002/11/06
- Re: [DotGNU]Status of cscc and Qt#, Gopal V, 2002/11/06
- Re: [DotGNU]Status of cscc and Qt#, Gopal V, 2002/11/06
- Re: [DotGNU]Status of cscc and Qt#, Adam Treat, 2002/11/06