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

93 строки
3.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%20create%20ABAddressBook&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="004036.html">
<LINK REL="Next" HREF="004033.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-osx] [MonoMac] EntryPointNotFoundException when trying to create ABAddressBook</H1>
<B>Zone</B>
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20%5BMonoMac%5D%20EntryPointNotFoundException%20when%20trying%20to%0A%20create%20ABAddressBook&In-Reply-To="
TITLE="[Mono-osx] [MonoMac] EntryPointNotFoundException when trying to create ABAddressBook">t.fischer at servonic.de
</A><BR>
<I>Thu Feb 17 12:08:27 EST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="004036.html">[Mono-osx] [MonoMac] OpenTK Cocoa bindings
</A></li>
<LI>Next message: <A HREF="004033.html">[Mono-osx] [MonoMac] EntryPointNotFoundException when trying to create ABAddressBook
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4032">[ date ]</a>
<a href="thread.html#4032">[ thread ]</a>
<a href="subject.html#4032">[ subject ]</a>
<a href="author.html#4032">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>
Hello all!
I'm trying to read Entries out of the Mac's AddressBook using ABAddressBook
but when I try to create an instance of ABAddressBook I get a
EntryPointNotFoundException in ABAddressBookCreate.
The code that leeds to the exception is just:
ABAddressBook book = new AbAddressBook();
I execute this in WindowDidLoad, but also tried in a button event handler.
Am I doing something wrong, missing a reference or is the AddressBook
implementation not finished?
I am using MonoDevelop 2.4.2 with the latest MonoMac Adding 2.4.2.1
Thanks for your help.
Tobias
--
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>
Sent from the Mono - OSX mailing list archive at Nabble.com.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="004036.html">[Mono-osx] [MonoMac] OpenTK Cocoa bindings
</A></li>
<LI>Next message: <A HREF="004033.html">[Mono-osx] [MonoMac] EntryPointNotFoundException when trying to create ABAddressBook
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4032">[ date ]</a>
<a href="thread.html#4032">[ thread ]</a>
<a href="subject.html#4032">[ subject ]</a>
<a href="author.html#4032">[ 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>