[Kde-bindings] Problem with Qyoto and QGraphicsView

Eric Butler eric at extremeboredom.net
Fri Oct 24 03:02:42 UTC 2008


Hi everyone,

The attached code crashes with the following error, can someone please 
tell me what I'm doing wrong?

Unhandled Exception: System.ArgumentException: parameters
   at System.Reflection.MonoMethod.Invoke (System.Object obj, 
BindingFlags invokeAttr, System.Reflection.Binder binder, 
System.Object[] parameters, System.Globalization.CultureInfo culture) 
[0x00000]
   at System.Reflection.MethodBase.Invoke (System.Object obj, 
System.Object[] parameters) [0x00000]
   at Qyoto.SmokeMarshallers.AddIntPtrToList (IntPtr obj, IntPtr ptr) 
[0x00000]
   at (wrapper native-to-managed) Qyoto.SmokeMarshallers:AddIntPtrToList 
(intptr,intptr)
   at (wrapper managed-to-native) Qyoto.SmokeInvocation:CallSmokeMethod 
(intptr,int,intptr,intptr,int)
   at Qyoto.SmokeInvocation.Invoke (System.String mungedName, 
System.String signature, System.Type returnType, System.Object[] args) 
[0x00000]
   at Qyoto.QGraphicsItem.Children () [0x00000]
   at Test..ctor () [0x00000]
   at Test.Main (System.String[] args) [0x00000]

I'm using mono 2.0.

Thanks!
  - Eric
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: qgraphics.cs
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20081023/0c167208/attachment.ksh>


More information about the Kde-bindings mailing list