Re: deprecated carbon calls?
site_archiver@lists.apple.com Delivered-To: Bluetooth-dev@lists.apple.com Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Dn0kkenuTuQi9UlDRPpMwDHmu7Cfl6d8YvUp5RbPv04WaxVBe7FRCLcatAlMWBxB6UGzG5kNvuklh68fK1LLZAggDSm22pgF/OEaHhDs3htXyTlBCgex3QwciYJ3phYUFwSvp1rwUW+q98WaJgjo+Qj93qBntVp+Nk65bIAlqEk= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=F7jT8GlmUYwOJqh3MW3hpT1W+mnv86C63j9gJ3GyC5qTJKiMH7zinuGhrUuw9RZmFjVtvDM9SESd021H1p95+K27yq+kiffY+IWsnul9w8y7/JIWv/cfEoguoEDhmLPzHUtp7hQ0Q4n71xoAMIZdrzZcZ7W6DXZwWYLEcc7S/Fw= Try placing #define BLUETOOTH_VERSION_USE_CURRENT on a line before you include the Framework headers. Take a look at http://bluecove.googlecode.com/svn/branches/osxPort/. Its currently a messy Java wrapper for OS X Bluetooth. The next problem you'll run into is the lack of a garbage collector if you are using C code, the ThreadCleanups.m file fixes this. The linker has no problem linking C, C++ and cocoa. You'll run into more problems in that a lot of the libraries now assume that the running thread has been initialized in certain respects. Something that is done automatically for cocoa threads. I found this wonderfully useful posting in the maillist from Bubba Giles, appended, which works and which we're basing our carbon bluetooth app on. However, the compiler says that virtually all the calls are deprecated. I can't find any information on this. Also, the note appended seems to indicate the cocoa is more reliable. One possibility is that I write the bluetooth code in cocoa for reliability. if so, how should I mix the two??? Can you have objects in cocoa and some objects in carbon? Should I have 2 binaries that communicate via sockets??? (Geez what a lot of work that would be). I'd really prefer to stay in carbon, but I'm concerned about the deprecated messages. Thanks. _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.a... On 3/27/07, Daniel Birns <danielbirns@gmail.com> wrote: This email sent to site_archiver@lists.apple.com
participants (1)
-
Eric Wagner