That makes me think that the native library isn't being linked into the
final app.

1. Make sure that the binding dll is larger than the size of the native
library (this is just a quick & easy way of determining if the dll has the
native library embedded in it)

2. Make sure that you are targeting a device that is supported by the
native library & that the LinkWith attribute includes that LinkTarget.

3. Browse over the build log and make sure that the native library is being
pulled in (will be one of the gcc lines)

Hope that helps,

Jeff

On Fri, Jul 13, 2012 at 12:53 PM, tkacem <[email protected]> wrote:

> Yes. That's what I did and it worked. Meanwhile, I am having another kind
> of
> error. Many methods in the wrapped classes in the monotouch dll return null
> when used in a sample project. I debugged the issue and found that the
> classHandle of many of those classes is equal to 0x0 as well as the
> class_ptr.
> Any idea why this is happening ?
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/Binding-an-interface-that-conforms-to-multiple-protocols-tp4655661p4655964.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to