mail-archives/mono-osx/2011-February/004033.html

105 строки
4.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-osx] [MonoMac] EntryPointNotFoundException when trying to create ABAddressBook
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20%5BMonoMac%5D%20EntryPointNotFoundException%20when%20trying%20to%0A%09create%20ABAddressBook&In-Reply-To=1297962507829-3311186.post%40n4.nabble.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="004032.html">
<LINK REL="Next" HREF="004055.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-osx] [MonoMac] EntryPointNotFoundException when trying to create ABAddressBook</H1>
<B>Geoff Norton</B>
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20%5BMonoMac%5D%20EntryPointNotFoundException%20when%20trying%20to%0A%09create%20ABAddressBook&In-Reply-To=1297962507829-3311186.post%40n4.nabble.com"
TITLE="[Mono-osx] [MonoMac] EntryPointNotFoundException when trying to create ABAddressBook">gnorton at novell.com
</A><BR>
<I>Thu Feb 17 14:31:26 EST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="004032.html">[Mono-osx] [MonoMac] EntryPointNotFoundException when trying to create ABAddressBook
</A></li>
<LI>Next message: <A HREF="004055.html">[Mono-osx] [MonoMac] Any tutorial to use monodevelop with monomac to develop cocoa app?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4033">[ date ]</a>
<a href="thread.html#4033">[ thread ]</a>
<a href="subject.html#4033">[ subject ]</a>
<a href="author.html#4033">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>It looks like the desktop addressbook api is significantly different from the mobile one, someone is going to need to rework this in maccore.
-g
On 2011-02-17, at 12:08 PM, Zone wrote:
&gt;<i>
</I>&gt;<i> Hello all!
</I>&gt;<i>
</I>&gt;<i> I'm trying to read Entries out of the Mac's AddressBook using ABAddressBook
</I>&gt;<i> but when I try to create an instance of ABAddressBook I get a
</I>&gt;<i> EntryPointNotFoundException in ABAddressBookCreate.
</I>&gt;<i>
</I>&gt;<i> The code that leeds to the exception is just:
</I>&gt;<i> ABAddressBook book = new AbAddressBook();
</I>&gt;<i>
</I>&gt;<i> I execute this in WindowDidLoad, but also tried in a button event handler.
</I>&gt;<i>
</I>&gt;<i> Am I doing something wrong, missing a reference or is the AddressBook
</I>&gt;<i> implementation not finished?
</I>&gt;<i>
</I>&gt;<i> I am using MonoDevelop 2.4.2 with the latest MonoMac Adding 2.4.2.1
</I>&gt;<i>
</I>&gt;<i> Thanks for your help.
</I>&gt;<i>
</I>&gt;<i> Tobias
</I>&gt;<i> --
</I>&gt;<i> View this message in context: <A HREF="http://mono.1490590.n4.nabble.com/MonoMac-EntryPointNotFoundException-when-trying-to-create-ABAddressBook-tp3311186p3311186.html">http://mono.1490590.n4.nabble.com/MonoMac-EntryPointNotFoundException-when-trying-to-create-ABAddressBook-tp3311186p3311186.html</A>
</I>&gt;<i> Sent from the Mono - OSX mailing list archive at Nabble.com.
</I>&gt;<i> _______________________________________________
</I>&gt;<i> Mono-osx mailing list
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">Mono-osx at lists.ximian.com</A>
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">http://lists.ximian.com/mailman/listinfo/mono-osx</A>
</I>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="004032.html">[Mono-osx] [MonoMac] EntryPointNotFoundException when trying to create ABAddressBook
</A></li>
<LI>Next message: <A HREF="004055.html">[Mono-osx] [MonoMac] Any tutorial to use monodevelop with monomac to develop cocoa app?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4033">[ date ]</a>
<a href="thread.html#4033">[ thread ]</a>
<a href="subject.html#4033">[ subject ]</a>
<a href="author.html#4033">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
mailing list</a><br>
</body></html>