Re: Which frameworks to link against to use Address Book APIs?
Re: Which frameworks to link against to use Address Book APIs?
- Subject: Re: Which frameworks to link against to use Address Book APIs?
- From: Matt Gemmell <email@hidden>
- Date: Tue, 27 Aug 2002 22:06:55 +0100
On Tuesday, August 27, 2002, at 09:51 pm, Matt Gemmell wrote:
I then tried compiling a piece of the sample code included in the
Address Book API's developer documentation (in Additional
Technologies). That code is below, for reference. However, the build
fails, saying "undefined type, found `ABAddressBookRef'". What have I
done wrong?
Here's the code:
ABAddressBookRef AB = ABGetSharedAddressBook();
Never mind. Blindness. That line should be in the C code, not in the
Obj-C code. Apple's mistake, but my fault for not seeing it. Sorry for
the noise!
-Matt
--
Matt Gemmell
Scotland Software
http://www.scotlandsoftware.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.